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

## org.optaplanner.core.impl.constructionheuristic.greedyFit.decider
Class DefaultGreedyDecider

    java.lang.Object
      org.optaplanner.core.impl.constructionheuristic.greedyFit.decider.DefaultGreedyDecider

All Implemented Interfaces:
  EventListener, GreedyDecider, GreedySolverPhaseLifecycleListener

    public class DefaultGreedyDecider

extends Object
implements GreedyDecider

Field Summary
`protected boolean` | `assertExpectedUndoMoveScore`
`protected boolean` | `assertMoveScoreFromScratch`
`protected org.slf4j.Logger` | `logger`

Constructor Summary
`DefaultGreedyDecider()`

Method Summary
`void` | `decideNextStep(GreedyFitStepScope stepScope)` Decides the next step
`void` | `phaseEnded(GreedyFitSolverPhaseScope phaseScope)`
`void` | `phaseStarted(GreedyFitSolverPhaseScope phaseScope)`
`void` | `setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)`
`void` | `setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)`
`void` | `setForager(GreedyForager forager)`
`void` | `setPlanningVariableWalker(PlanningVariableWalker planningVariableWalker)`
`void` | `stepEnded(GreedyFitStepScope stepScope)`
`void` | `stepStarted(GreedyFitStepScope stepScope)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### logger

    protected final transient org.slf4j.Logger logger

### assertMoveScoreFromScratch

    protected boolean assertMoveScoreFromScratch

### assertExpectedUndoMoveScore

    protected boolean assertExpectedUndoMoveScore

Constructor Detail

### DefaultGreedyDecider

    public DefaultGreedyDecider()

Method Detail

### setPlanningVariableWalker

    public void setPlanningVariableWalker(PlanningVariableWalker planningVariableWalker)

### setForager

    public void setForager(GreedyForager forager)

### setAssertMoveScoreFromScratch

    public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)

### setAssertExpectedUndoMoveScore

    public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)

### phaseStarted

    public void phaseStarted(GreedyFitSolverPhaseScope phaseScope)

  Specified by:
    `phaseStarted` in interface `GreedySolverPhaseLifecycleListener`

### stepStarted

    public void stepStarted(GreedyFitStepScope stepScope)

  Specified by:
    `stepStarted` in interface `GreedySolverPhaseLifecycleListener`

### decideNextStep

    public void decideNextStep(GreedyFitStepScope stepScope)

  Description copied from interface: `GreedyDecider`
  Decides the next step

  Specified by:
    `decideNextStep` in interface `GreedyDecider`
  Parameters:
    `stepScope` - never null

### stepEnded

    public void stepEnded(GreedyFitStepScope stepScope)

  Specified by:
    `stepEnded` in interface `GreedySolverPhaseLifecycleListener`

### phaseEnded

    public void phaseEnded(GreedyFitSolverPhaseScope phaseScope)

  Specified by:
    `phaseEnded` in interface `GreedySolverPhaseLifecycleListener`

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

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