jcolibri.method.maintenance
Class RunTwoStepMaintenance

java.lang.Object
  extended by jcolibri.method.maintenance.RunTwoStepMaintenance

public class RunTwoStepMaintenance
extends java.lang.Object

Provides the ability to run two maintenance algorithms consecutively on a set of cases

Author:
Lisa Cummins

Constructor Summary
RunTwoStepMaintenance()
           
 
Method Summary
static java.util.LinkedList<CBRCase> runMaintenance(MaintenanceAlgorithm alg1, MaintenanceAlgorithm alg2, java.util.Collection<CBRCase> cases, KNNConfig simConfig)
          Runs alg1 followed by alg2 on the given cases and returns the cases deleted by the combined algorithms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunTwoStepMaintenance

public RunTwoStepMaintenance()
Method Detail

runMaintenance

public static java.util.LinkedList<CBRCase> runMaintenance(MaintenanceAlgorithm alg1,
                                                           MaintenanceAlgorithm alg2,
                                                           java.util.Collection<CBRCase> cases,
                                                           KNNConfig simConfig)
Runs alg1 followed by alg2 on the given cases and returns the cases deleted by the combined algorithms

Parameters:
alg1 - The first maintenance algorithm to perform
alg2 - The second maintenance algorithm to perform
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