edu.unh.sdb.datasource
Class KDNode

java.lang.Object
  extended by edu.unh.sdb.datasource.ARRSNode
      extended by edu.unh.sdb.datasource.ARRSInternalNode
          extended by edu.unh.sdb.datasource.KDNode

public class KDNode
extends ARRSInternalNode


Field Summary
 
Fields inherited from class edu.unh.sdb.datasource.ARRSInternalNode
firstChildId, lastChildId, numChildren
 
Fields inherited from class edu.unh.sdb.datasource.ARRSNode
baseBounds, cellSource, nodeId, path, siblingId
 
Constructor Summary
KDNode(ISBounds bounds)
          Constructor takes a single ISbounds
KDNode(ISBounds bounds, CellIndexable cellSource)
          Constructor takes a ISbounds and a CellIndexable
KDNode(KDNode src)
          Copy constructor
 
Method Summary
 ARRSNode copy()
          copy method creates references to all components, not copies.
 int maxChildren()
          return maximum number child nodes (always 2 for kd-tree)
 
Methods inherited from class edu.unh.sdb.datasource.ARRSInternalNode
addChild, addNode, getChild, getChildID, getChildren, getFirstChildID, getLastChildID, getNumChildren, setFirstChildID, setLastChildID
 
Methods inherited from class edu.unh.sdb.datasource.ARRSNode
getBaseBounds, getCellIndexable, getID, getPath, getSibling, getSiblingID, setBaseBounds, setCellIndexable, setID, setNodePath, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KDNode

public KDNode(ISBounds bounds)
Constructor takes a single ISbounds


KDNode

public KDNode(ISBounds bounds,
              CellIndexable cellSource)
Constructor takes a ISbounds and a CellIndexable


KDNode

public KDNode(KDNode src)
Copy constructor

Method Detail

copy

public ARRSNode copy()
copy method creates references to all components, not copies.

Specified by:
copy in class ARRSNode

maxChildren

public int maxChildren()
return maximum number child nodes (always 2 for kd-tree)

Specified by:
maxChildren in class ARRSInternalNode