OptaPlanner core 6.2.0.Beta1

org.optaplanner.core.impl.localsearch.decider.acceptor
Interface Acceptor

All Superinterfaces:
EventListener, LocalSearchPhaseLifecycleListener, SolverLifecycleListener
All Known Implementing Classes:
AbstractAcceptor, AbstractTabuAcceptor, CompositeAcceptor, EntityTabuAcceptor, HillClimbingAcceptor, LateAcceptanceAcceptor, LateSimulatedAnnealingAcceptor, MoveTabuAcceptor, SimulatedAnnealingAcceptor, SolutionTabuAcceptor, StepCountingHillClimbingAcceptor, ValueTabuAcceptor

public interface Acceptor
extends LocalSearchPhaseLifecycleListener

An Acceptor accepts or rejects a selected Move. Note that the Forager can still ignore the advice of the Acceptor.

See Also:
AbstractAcceptor

Method Summary
 boolean isAccepted(LocalSearchMoveScope moveScope)
           
 
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, solvingStarted
 

Method Detail

isAccepted

boolean isAccepted(LocalSearchMoveScope moveScope)
Parameters:
moveScope - not null
Returns:
true if accepted

OptaPlanner core 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.