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

## org.optaplanner.core.impl.phase.scope
Class AbstractStepScope

    java.lang.Object
      org.optaplanner.core.impl.phase.scope.AbstractStepScope

Direct Known Subclasses:
  ConstructionHeuristicStepScope, CustomStepScope, ExhaustiveSearchStepScope, LocalSearchStepScope

    public abstract class AbstractStepScope

extends Object

Field Summary
`protected Boolean` | `bestScoreImproved`
`protected Solution` | `clonedSolution`
`protected Score` | `score`
`protected int` | `stepIndex`

Constructor Summary
`AbstractStepScope(int stepIndex)`

Method Summary
`Solution` | `createOrGetClonedSolution()`
`Boolean` | `getBestScoreImproved()`
`Solution` | `getClonedSolution()`
`abstract AbstractPhaseScope` | `getPhaseScope()`
`Score` | `getScore()`
`InnerScoreDirector` | `getScoreDirector()`
`int` | `getStepIndex()`
`abstract int` | `getUninitializedVariableCount()`
`Random` | `getWorkingRandom()`
`Solution` | `getWorkingSolution()`
`boolean` | `hasNoUninitializedVariables()`
`void` | `setBestScoreImproved(Boolean bestScoreImproved)`
`void` | `setClonedSolution(Solution clonedSolution)`
`void` | `setScore(Score score)`
`String` | `toString()`

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

Field Detail

### stepIndex

    protected final int stepIndex

### score

    protected Score score

### bestScoreImproved

    protected Boolean bestScoreImproved

### clonedSolution

    protected Solution clonedSolution

Constructor Detail

### AbstractStepScope

    public AbstractStepScope(int stepIndex)

Method Detail

### getPhaseScope

    public abstract AbstractPhaseScope getPhaseScope()

### getStepIndex

    public int getStepIndex()

### getUninitializedVariableCount

    public abstract int getUninitializedVariableCount()

### hasNoUninitializedVariables

    public boolean hasNoUninitializedVariables()

### getScore

    public Score getScore()

### setScore

    public void setScore(Score score)

### getBestScoreImproved

    public Boolean getBestScoreImproved()

### setBestScoreImproved

    public void setBestScoreImproved(Boolean bestScoreImproved)

### getClonedSolution

    public Solution getClonedSolution()

### setClonedSolution

    public void setClonedSolution(Solution clonedSolution)

### getScoreDirector

    public InnerScoreDirector getScoreDirector()

### getWorkingSolution

    public Solution getWorkingSolution()

### getWorkingRandom

    public Random getWorkingRandom()

### createOrGetClonedSolution

    public Solution createOrGetClonedSolution()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

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

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