org.drools.planner.core.bestsolution
Class BestSolutionRecaller

java.lang.Object
  extended by org.drools.planner.core.bestsolution.BestSolutionRecaller
All Implemented Interfaces:
SolverLifecycleListener

public class BestSolutionRecaller
extends Object
implements SolverLifecycleListener

A BestSolutionRecaller remembers the best solution that a Solver encounters.


Field Summary
protected  org.slf4j.Logger logger
           
protected  SolverEventSupport solverEventSupport
           
 
Constructor Summary
BestSolutionRecaller()
           
 
Method Summary
 void extractBestSolution(AbstractStepScope stepScope)
           
 void setSolverEventSupport(SolverEventSupport solverEventSupport)
           
 void solvingEnded(DefaultSolverScope solverScope)
           
 void solvingStarted(DefaultSolverScope solverScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient org.slf4j.Logger logger

solverEventSupport

protected SolverEventSupport solverEventSupport
Constructor Detail

BestSolutionRecaller

public BestSolutionRecaller()
Method Detail

setSolverEventSupport

public void setSolverEventSupport(SolverEventSupport solverEventSupport)

solvingStarted

public void solvingStarted(DefaultSolverScope solverScope)
Specified by:
solvingStarted in interface SolverLifecycleListener

extractBestSolution

public void extractBestSolution(AbstractStepScope stepScope)

solvingEnded

public void solvingEnded(DefaultSolverScope solverScope)
Specified by:
solvingEnded in interface SolverLifecycleListener


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.