edu.indiana.iucbrf.ccbr.caselistrefiner
Class ThresholdCaseListRefiner
java.lang.Object
edu.indiana.iucbrf.ccbr.caselistrefiner.AbstractCaseListRefiner
edu.indiana.iucbrf.ccbr.caselistrefiner.ThresholdCaseListRefiner
- All Implemented Interfaces:
- CaseListRefiner, java.io.Serializable
public class ThresholdCaseListRefiner
- extends AbstractCaseListRefiner
In refining a case list, the difference between each case and the current problem is calculated. Those
that are above a threshold are removed from further consideration in this episode. Remaining cases
are ordered by distance from the problem, shortest distance first.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
differenceThreshold
protected double differenceThreshold
ThresholdCaseListRefiner
protected ThresholdCaseListRefiner()
ThresholdCaseListRefiner
public ThresholdCaseListRefiner(double differenceThreshold)
- Creates a new instance of ThresholdCaseListRefiner
refineCaseList
public RetrievalResults refineCaseList(Problem problemSoFar,
Question questionAsked,
Feature answerGiven,
RetrievalResults casesUnderConsideration,
CCBRDomain domain)
- Description copied from interface:
CaseListRefiner
- Returns a modified ArrayList of potentially useful cases, based on the problem developed so far,
the question that was just asked, the answer obtained, the cases under consideration so far, and the domain.