edu.unh.sdb.lattice
Class Approximator

java.lang.Object
  extended by edu.unh.sdb.lattice.Approximator
Direct Known Subclasses:
ArrayApproximator, UnstructuredApproximator

public abstract class Approximator
extends java.lang.Object

The Approximator class implements an approximating function used by the lattice to compute data values for domain locations that do not necessarily correspond to a sample point.


Constructor Summary
Approximator()
           
 
Method Summary
abstract  Datum approximate(Cell c, Point p)
           
abstract  Datum approximate(Cell c, Point p, RecordSpec s)
           
 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

Approximator

public Approximator()
Method Detail

approximate

public abstract Datum approximate(Cell c,
                                  Point p)

approximate

public abstract Datum approximate(Cell c,
                                  Point p,
                                  RecordSpec s)

toString

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

Overrides:
toString in class java.lang.Object

toString

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