edu.unh.sdb.ARRSTreeBuilder
Class ARRSCopyModelBuilder

java.lang.Object
  extended by edu.unh.sdb.ARRSTreeBuilder.ARRSBuilder
      extended by edu.unh.sdb.ARRSTreeBuilder.ARRSCopyModelBuilder

public class ARRSCopyModelBuilder
extends ARRSBuilder


Field Summary
 float[] indexValues
           
 
Fields inherited from class edu.unh.sdb.ARRSTreeBuilder.ARRSBuilder
arrSource, dim, inFile, nodeNum, parser, tree
 
Constructor Summary
ARRSCopyModelBuilder(java.lang.String command, java.lang.String indexFDL, CellIndexable arrSource)
           
 
Method Summary
 boolean addLeaf(int parent, int[] bounds, int[] size)
          Abstract method to create a leaf node with data.
 ARRSTree getARRSTree()
          Get the ARRS tree -- override parent to handle index information.
 
Methods inherited from class edu.unh.sdb.ARRSTreeBuilder.ARRSBuilder
addKdNode, addNtreeNode, isDim, makeBaseBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indexValues

public float[] indexValues
Constructor Detail

ARRSCopyModelBuilder

public ARRSCopyModelBuilder(java.lang.String command,
                            java.lang.String indexFDL,
                            CellIndexable arrSource)
Method Detail

addLeaf

public boolean addLeaf(int parent,
                       int[] bounds,
                       int[] size)
Description copied from class: ARRSBuilder
Abstract method to create a leaf node with data. Children classes must define this method since this is what distinguishes the child implementations.

Specified by:
addLeaf in class ARRSBuilder
Parameters:
parent - parent node for this leaf
bounds - 2*dim array; 1st dim are lower bounds of leaf block in base space 2nd dim are upper bounds of leaf block in base space
size - array of length dim defining size of leaf block in points (?)

getARRSTree

public ARRSTree getARRSTree()
Get the ARRS tree -- override parent to handle index information.

Overrides:
getARRSTree in class ARRSBuilder