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.forager
Interface Forager

All Superinterfaces:
  EventListener, LocalSearchSolverPhaseLifecycleListener

All Known Implementing Classes:
  AbstractForager, AcceptedForager

    public interface Forager

extends LocalSearchSolverPhaseLifecycleListener

A Forager collects the accepted moves and picks the next step from those for the Decider.

See Also:
  `AbstractForager`

Method Summary
`void` | `addMove(MoveScope moveScope)`
`int` | `getAcceptedMovesSize()`
`List<Move>` | `getTopList(int topSize)`
`boolean` | `isQuitEarly()`
`MoveScope` | `pickMove(LocalSearchStepScope localSearchStepScope)`

Methods inherited from interface org.drools.planner.core.localsearch.event.LocalSearchSolverPhaseLifecycleListener
`beforeDeciding, phaseEnded, phaseStarted, stepDecided, stepTaken`

Method Detail

### addMove

    void addMove(MoveScope moveScope)

### isQuitEarly

    boolean isQuitEarly()

### pickMove

    MoveScope pickMove(LocalSearchStepScope localSearchStepScope)

### getAcceptedMovesSize

    int getAcceptedMovesSize()

### getTopList

    List<Move> getTopList(int topSize)

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.