Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

All Superinterfaces:
  EventListener, LocalSearchSolverPhaseLifecycleListener

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

    public interface Acceptor

extends LocalSearchSolverPhaseLifecycleListener

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.event.LocalSearchSolverPhaseLifecycleListener
`beforeDeciding, phaseEnded, phaseStarted, 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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