edu.unh.sdb.lattice
Class ArrayApproximator

java.lang.Object
  extended by edu.unh.sdb.lattice.Approximator
      extended by edu.unh.sdb.lattice.ArrayApproximator

public class ArrayApproximator
extends Approximator

The ArrayApproximator class is meant for use with the ArrayCell class.


Constructor Summary
ArrayApproximator()
           
 
Method Summary
 Datum approximate(Cell c, Point p)
          Return an interpolated a Datum containing interpolated values of the attributes at the specified Point inside the cell.
 Datum approximate(Cell c, Point p, FieldIDMapper fim)
          Return an interpolated a Datum containing interpolated values of the a subset of attributes (specified by the FieldIDMapper) at the specified Point inside the cell.
 Datum approximate(Cell c, Point p, RecordSpec rs)
          Return an interpolated a Datum containing interpolated values of the a subset of attributes (specified by the RecordSpec) at the specified Point inside the cell.
static void main(java.lang.String[] args)
           
 java.lang.String toString()
          Return a String representing the object.
 java.lang.String toString(java.lang.String indent)
          Return a String representing the object indented by the argument string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayApproximator

public ArrayApproximator()
Method Detail

approximate

public final Datum approximate(Cell c,
                               Point p)
Return an interpolated a Datum containing interpolated values of the attributes at the specified Point inside the cell.

Specified by:
approximate in class Approximator

approximate

public final Datum approximate(Cell c,
                               Point p,
                               RecordSpec rs)
Return an interpolated a Datum containing interpolated values of the a subset of attributes (specified by the RecordSpec) at the specified Point inside the cell.

Specified by:
approximate in class Approximator

approximate

public Datum approximate(Cell c,
                         Point p,
                         FieldIDMapper fim)
Return an interpolated a Datum containing interpolated values of the a subset of attributes (specified by the FieldIDMapper) at the specified Point inside the cell.


toString

public java.lang.String toString()
Return a String representing the object.

Overrides:
toString in class Approximator

toString

public java.lang.String toString(java.lang.String indent)
Return a String representing the object indented by the argument string.

Overrides:
toString in class Approximator

main

public static void main(java.lang.String[] args)