mobios.index
Class VPInternalNode
java.lang.Object
mobios.index.InternalNode
mobios.index.VPInternalNode
- All Implemented Interfaces:
- Externalizable, Serializable
public class VPInternalNode
- extends InternalNode
- Author:
- Rui Mao, Willard
- See Also:
- Serialized Form
VPInternalNode
public VPInternalNode()
VPInternalNode
public VPInternalNode(IndexObject[] pivots,
double[][] lowerRange,
double[][] upperRange,
int size,
long[] childAddress)
- Parameters:
pivots
- lowerRange
- lower range from each child (row) to each pivot (column)upperRange
- upperrange from each child (row) to each pivot (column)size
- childAddress
-
getChildPredicate
public double[][] getChildPredicate(int childIndex)
- Returns the predicate, the ranges from the child to each piovt, of a child node.
- Parameters:
childIndex
-
- Returns:
- a 2-d array of the lower ranges (first row) and the upper ranges (second row) of the
child to each pivot.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class InternalNode
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class InternalNode
- Throws:
IOException
ClassNotFoundException
(C) 2002 - 2006 The MoBIoS Group