@staticmethod
def parent(i):
    """
        Parent will be at math.floor((i - 1) / 2). Since integer division,
        in Python, simulates the floor function, we do not explicity use it
        because the answer will already be rounded down.

        @param i: The index of the node from which the parent index should be calculated.
        @type: C{int}
        @return: The parent index of the node i.
        @rtype: C{int}
        """
    return (i - 1) / 2
