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:
  LocalSearchSolverLifecycleListener

All Known Implementing Classes:
  AbstractForager, AcceptedForager

    public interface Forager

extends LocalSearchSolverLifecycleListener

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.LocalSearchSolverLifecycleListener
`beforeDeciding, solvingEnded, solvingStarted, 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 Inc.. All Rights Reserved.