jcolibri.method.maintenance.algorithms
Class CRRRedundancyRemoval

java.lang.Object
  extended by jcolibri.method.maintenance.AbstractCaseBaseEditMethod
      extended by jcolibri.method.maintenance.algorithms.CRRRedundancyRemoval

public class CRRRedundancyRemoval
extends AbstractCaseBaseEditMethod

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

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

Constructor Summary
CRRRedundancyRemoval()
           
 
Method Summary
 java.util.List<CBRCase> retrieveCasesToDelete(java.util.Collection<CBRCase> cases, KNNClassificationConfig simConfig)
          Simulates the CRR case base editing algorithm, returning the cases that would be deleted by the algorithm.
 
Methods inherited from class jcolibri.method.maintenance.AbstractCaseBaseEditMethod
edit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRRRedundancyRemoval

public CRRRedundancyRemoval()
Method Detail

retrieveCasesToDelete

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

Specified by:
retrieveCasesToDelete in class AbstractCaseBaseEditMethod
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 CRR algorithm.

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