jInfer

cz.cuni.mff.ksi.jinfer.iss.experiments.interfaces
Interface ImprovementHeuristic

All Superinterfaces:
Heuristics, NamedModule
All Known Implementing Classes:
Crossover, Hungry, Identity, LocalBranching, Mutation, RandomRemove, RemoveWorst

public interface ImprovementHeuristic
extends Heuristics

Interface representing an improvement heuristic. Its responsibility is to start with a pool (possibly just one) of feasible solutions and improve one or more of them, or add new ones. Note that heuristics use the callback "design pattern", meaning that the result of this heuristic is returned via a callback provided while invoking it.


Method Summary
 void start(Experiment experiment, List<IdSet> feasiblePool, HeuristicCallback callback)
          Start the heuristic run.
 
Methods inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.NamedModule
getDisplayName, getModuleDescription, getName
 

Method Detail

start

void start(Experiment experiment,
           List<IdSet> feasiblePool,
           HeuristicCallback callback)
           throws InterruptedException
Start the heuristic run. Use the information in the provided experiment to improve the provided pool (possibly only one) of feasible solutions.

Parameters:
experiment - Experiment in context of which to run the heuristic.
feasiblePool - List of feasible solutions found so far.
callback - Callback to be invoked when finished.
Throws:
InterruptedException

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011