org.drools.planner.core.localsearch.decider.acceptor
Interface Acceptor

All Superinterfaces:
LocalSearchSolverLifecycleListener
All Known Implementing Classes:
AbstractAcceptor, AbstractTabuAcceptor, CompositeAcceptor, GreatDelugeAcceptor, LegacySimulatedAnnealingAcceptor, MoveTabuAcceptor, PropertyTabuAcceptor, SimulatedAnnealingAcceptor, SolutionTabuAcceptor

public interface Acceptor
extends LocalSearchSolverLifecycleListener

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

See Also:
AbstractAcceptor

Method Summary
 double calculateAcceptChance(MoveScope moveScope)
          TODO the use for an acceptChance between 0.0 and 1.0 is unproven.
 
Methods inherited from interface org.drools.planner.core.localsearch.LocalSearchSolverLifecycleListener
beforeDeciding, solvingEnded, solvingStarted, stepDecided, stepTaken
 

Method Detail

calculateAcceptChance

double calculateAcceptChance(MoveScope moveScope)
TODO the use for an acceptChance between 0.0 and 1.0 is unproven. A boolean instead of a double is sufficient?

Parameters:
moveScope - not null
Returns:
never negative; if rejected 0.0; if accepted higher than 0.0 (usually 1.0)


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.