ir.classifiers
Class PointResults

java.lang.Object
  extended by ir.classifiers.PointResults

public class PointResults
extends java.lang.Object

Utility class for generating average result curves. Gives vector of sample numerical results to be averaged for a given point on a curve.


Field Summary
protected  double point
          Point on curve at which results are for
protected  double[] results
          Sampled values of result at this point
 
Constructor Summary
PointResults(int numResults)
          Create a vector of results for a point
 
Method Summary
 void addResult(int numResult, double result)
          Set the nth result
 double getPoint()
           
 double[] getResults()
           
 void setPoint(double point)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

point

protected double point
Point on curve at which results are for


results

protected double[] results
Sampled values of result at this point

Constructor Detail

PointResults

public PointResults(int numResults)
Create a vector of results for a point

Method Detail

getPoint

public double getPoint()

setPoint

public void setPoint(double point)

addResult

public void addResult(int numResult,
                      double result)
Set the nth result


getResults

public double[] getResults()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object