Interface Acceptor<Solution_>
- All Superinterfaces:
EventListener
,LocalSearchPhaseLifecycleListener<Solution_>
,SolverLifecycleListener<Solution_>
- All Known Implementing Classes:
AbstractAcceptor
,AbstractTabuAcceptor
,CompositeAcceptor
,EntityTabuAcceptor
,GreatDelugeAcceptor
,HillClimbingAcceptor
,LateAcceptanceAcceptor
,MoveTabuAcceptor
,SimulatedAnnealingAcceptor
,StepCountingHillClimbingAcceptor
,ValueTabuAcceptor
An Acceptor accepts or rejects a selected
Move
.
Note that the LocalSearchForager
can still ignore the advice of the Acceptor
.- See Also:
-
Method Summary
Methods inherited from interface org.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
solvingEnded, solvingError, solvingStarted
-
Method Details
-
isAccepted
- Parameters:
moveScope
- not null- Returns:
- true if accepted
-