edu.indiana.iucbrf.retrieval
Class ThresholdRetrieval

java.lang.Object
  extended by edu.indiana.iucbrf.retrieval.AbstractRetrieval
      extended by edu.indiana.iucbrf.retrieval.ThresholdRetrieval
All Implemented Interfaces:
Retrieval, java.io.Serializable
Direct Known Subclasses:
RisingThresholdRetrieval

public class ThresholdRetrieval
extends AbstractRetrieval

In threshold retrieval, all cases within a given threshold of difference are retrieved.

See Also:
Serialized Form

Nested Class Summary
protected  class ThresholdRetrieval.ThresholdConditionsChecker
           
 
Field Summary
 
Fields inherited from class edu.indiana.iucbrf.retrieval.AbstractRetrieval
conditionsChecker, debugMode, problemDifferentiator
 
Constructor Summary
protected ThresholdRetrieval()
           
  ThresholdRetrieval(Domain domain, double threshold)
          Creates a new instance of ThresholdRetrieval
  ThresholdRetrieval(ProblemDifferentiator problemDifferentiator, double threshold)
          Creates a new instance of ThresholdRetrieval
 
Method Summary
 double getThreshold()
           
 void setParams(java.lang.Object[] params)
           
 void setThreshold(double newThreshold)
           
 
Methods inherited from class edu.indiana.iucbrf.retrieval.AbstractRetrieval
getConditionsChecker, getDebugMode, getNearest, getNearest, getNearest, getNearest, getProblemDifferentiator, handleDebugMode, setConditionsChecker, setDebugMode, setProblemDifferentiator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdRetrieval

protected ThresholdRetrieval()

ThresholdRetrieval

public ThresholdRetrieval(Domain domain,
                          double threshold)
Creates a new instance of ThresholdRetrieval


ThresholdRetrieval

public ThresholdRetrieval(ProblemDifferentiator problemDifferentiator,
                          double threshold)
Creates a new instance of ThresholdRetrieval

Method Detail

setParams

public void setParams(java.lang.Object[] params)

getThreshold

public double getThreshold()

setThreshold

public void setThreshold(double newThreshold)