choco.kernel.common.opres.heuristics
Interface IHeuristic

All Superinterfaces:
IOptimizationMeasures, ISolutionDisplay, ISolutionMeasures
All Known Implementing Classes:
AbstractHeuristic, AbstractHeuristic1BP, AbstractRandomizedHeuristic, BestFit1BP, CompositeHeuristics1BP, FirstFit1BP, NoHeuristic

public interface IHeuristic
extends ISolutionMeasures, IOptimizationMeasures, ISolutionDisplay


Field Summary
static Logger LOGGER
           
 
Method Summary
 void execute()
           
 int getIterationCount()
          get computation time in seconds
 double getTimeCount()
          get computation time in seconds
 boolean hasSearched()
          indicates if the algorithm was executed
 void reset()
           
 
Methods inherited from interface choco.kernel.solver.search.measure.IOptimizationMeasures
getObjectiveValue, isObjectiveOptimal
 
Methods inherited from interface choco.kernel.solver.search.measure.ISolutionMeasures
existsSolution, getSolutionCount
 
Methods inherited from interface choco.kernel.solver.search.ISolutionDisplay
solutionToString
 

Field Detail

LOGGER

static final Logger LOGGER
Method Detail

reset

void reset()

execute

void execute()

hasSearched

boolean hasSearched()
indicates if the algorithm was executed

Returns:
true if a solution was found

getTimeCount

double getTimeCount()
get computation time in seconds


getIterationCount

int getIterationCount()
get computation time in seconds



Copyright © 2012. All Rights Reserved.