org.drools.planner.core.termination
Class AbstractTermination
java.lang.Object
org.drools.planner.core.termination.AbstractTermination
- All Implemented Interfaces:
- EventListener, SolverPhaseLifecycleListener, SolverLifecycleListener, Termination
- Direct Known Subclasses:
- AbstractCompositeTermination, BasicPlumbingTermination, PhaseToSolverTerminationBridge, ScoreAttainedTermination, StepCountTermination, TimeMillisSpendTermination, UnimprovedStepCountTermination
public abstract class AbstractTermination
- extends Object
- implements Termination
Abstract superclass for Termination
.
Field Summary |
protected org.slf4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.slf4j.Logger logger
AbstractTermination
public AbstractTermination()
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStarted
in interface SolverLifecycleListener
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
beforeDeciding
public void beforeDeciding(AbstractStepScope stepScope)
- Specified by:
beforeDeciding
in interface SolverPhaseLifecycleListener
stepDecided
public void stepDecided(AbstractStepScope stepScope)
- Specified by:
stepDecided
in interface SolverPhaseLifecycleListener
stepTaken
public void stepTaken(AbstractStepScope stepScope)
- Specified by:
stepTaken
in interface SolverPhaseLifecycleListener
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.