Mobios v0.91

mobios.index
Class VPInternalNode

java.lang.Object
  extended by mobios.index.InternalNode
      extended by mobios.index.VPInternalNode
All Implemented Interfaces:
Externalizable, Serializable

public class VPInternalNode
extends InternalNode

Author:
Rui Mao, Willard
See Also:
Serialized Form

Constructor Summary
VPInternalNode()
           
VPInternalNode(IndexObject[] pivots, double[][] lowerRange, double[][] upperRange, int size, long[] childAddress)
           
 
Method Summary
 double[][] getChildPredicate(int childIndex)
          Returns the predicate, the ranges from the child to each piovt, of a child node.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class mobios.index.InternalNode
setChildAddress
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group