jcolibri.method.maintenance
Class AbstractCaseBaseEditMethod

java.lang.Object
  extended by jcolibri.method.maintenance.AbstractCaseBaseEditMethod
Direct Known Subclasses:
BBNRNoiseReduction, CRRRedundancyRemoval, ICFRedundancyRemoval, RCRedundancyRemoval, RENNNoiseReduction, TwoStepCaseBaseEditMethod

public abstract class AbstractCaseBaseEditMethod
extends java.lang.Object

Provides the ability to run a case base editing algorithm on a case base.

Author:
Lisa Cummins, Derek Bridge 18/05/07

Constructor Summary
AbstractCaseBaseEditMethod()
           
 
Method Summary
 void edit(CBRCaseBase caseBase, KNNClassificationConfig simConfig)
          Runs a case base editing algorithm on the given case base.
abstract  java.util.Collection<CBRCase> retrieveCasesToDelete(java.util.Collection<CBRCase> cases, KNNClassificationConfig simConfig)
          Simulates a case base editing algorithm, returning the cases that would be deleted by the algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCaseBaseEditMethod

public AbstractCaseBaseEditMethod()
Method Detail

retrieveCasesToDelete

public abstract java.util.Collection<CBRCase> retrieveCasesToDelete(java.util.Collection<CBRCase> cases,
                                                                    KNNClassificationConfig simConfig)
Simulates a case base editing algorithm, returning the cases that would be deleted by the algorithm.

Parameters:
cases - The group of cases on which to perform editing.
simConfig - The similarity configuration for these cases.
Returns:
the list of cases that would be deleted by the algorithm.

edit

public void edit(CBRCaseBase caseBase,
                 KNNClassificationConfig simConfig)
Runs a case base editing algorithm on the given case base.

Parameters:
caseBase - The case base on which to perform editing.
simConfig - The similarity configuration for the case base.

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es