jcolibri.method.maintenance
Class RCAlgorithm

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

public class RCAlgorithm
extends MaintenanceAlgorithm

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

Author:
Lisa Cummins

Constructor Summary
RCAlgorithm()
           
 
Method Summary
 java.util.LinkedList<CBRCase> runMaintenance(java.util.Collection<CBRCase> cases, KNNConfig simConfig)
          Runs the RC 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

RCAlgorithm

public RCAlgorithm()
Method Detail

runMaintenance

public java.util.LinkedList<CBRCase> runMaintenance(java.util.Collection<CBRCase> cases,
                                                    KNNConfig simConfig)
Runs the RC 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