jcolibri.method.maintenance
Class CRRAlgorithm

java.lang.Object
  extended by jcolibri.method.maintenance.MaintenanceAlgorithm
      extended by jcolibri.method.maintenance.CRRAlgorithm

public class CRRAlgorithm
extends MaintenanceAlgorithm

Implements the CRR Maintenance Algorithm to remove redundancy from the case base

Author:
Lisa Cummins

Constructor Summary
CRRAlgorithm()
           
 
Method Summary
 java.util.LinkedList<CBRCase> runMaintenance(java.util.Collection<CBRCase> cases, KNNConfig simConfig)
          Runs the CRR maintenance algorithm, returning the cases deleted by the algorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRRAlgorithm

public CRRAlgorithm()
Method Detail

runMaintenance

public java.util.LinkedList<CBRCase> runMaintenance(java.util.Collection<CBRCase> cases,
                                                    KNNConfig simConfig)
Runs the CRR maintenance algorithm, returning the cases deleted by the algorithm

Specified by:
runMaintenance in class MaintenanceAlgorithm
Parameters:
cases - The group of cases on which to perform maintenance
simConfig - The KNNConfig for these cases
Returns:
the list of cases deleted by the algorithm


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