jInfer

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

All Superinterfaces:
Heuristics, NamedModule
All Known Implementing Classes:
Fidax, Fuzzy, Glpk, Incremental, Null, Random, Removal

public interface ConstructionHeuristic
extends Heuristics

Interface representing a construction heuristic. Its responsibility is to create one or more starting solutions from the model provided in the experiment to be optimized later in improvement heuristics. Note that the solution(s) created by this heuristic might already be optimal. In this case it is up to the experiment to recognize this and stop the optimizations. 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, 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,
           HeuristicCallback callback)
           throws InterruptedException
Start the heuristic run. Use the information in the provided experiment to create a pool (possibly only one) of start solutions.

Parameters:
experiment - Experiment in context of which to run the heuristic.
callback - Callback to be invoked when finished.
Throws:
InterruptedException

jInfer

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