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

## org.optaplanner.core.impl.phase
Class AbstractSolverPhaseScope

    java.lang.Object
      org.optaplanner.core.impl.phase.AbstractSolverPhaseScope

Direct Known Subclasses:
  BruteForceSolverPhaseScope, ConstructionHeuristicSolverPhaseScope, CustomSolverPhaseScope, GreedyFitSolverPhaseScope, LocalSearchSolverPhaseScope

    public abstract class AbstractSolverPhaseScope

extends Object

Field Summary
`protected int` | `bestSolutionStepIndex`
`protected org.slf4j.Logger` | `logger`
`protected DefaultSolverScope` | `solverScope`
`protected Score` | `startingScore`
`protected long` | `startingSystemTimeMillis`

Constructor Summary
`AbstractSolverPhaseScope(DefaultSolverScope solverScope)`

Method Summary
`void` | `assertExpectedWorkingScore(Score expectedWorkingScore)`
`void` | `assertUndoMoveIsUncorrupted(Move move, Move undoMove)`
`void` | `assertWorkingScoreFromScratch(Score workingScore)`
`long` | `calculatePhaseTimeMillisSpend()`
`Score` | `calculateScore()`
`long` | `calculateSolverTimeMillisSpend()`
`Score` | `getBestScore()`
`int` | `getBestSolutionStepIndex()`
`abstract AbstractStepScope` | `getLastCompletedStepScope()`
`ScoreDefinition` | `getScoreDefinition()`
`ScoreDirector` | `getScoreDirector()`
`SolutionDescriptor` | `getSolutionDescriptor()`
`DefaultSolverScope` | `getSolverScope()`
`Score` | `getStartingScore()`
`long` | `getStartingSystemTimeMillis()`
`List<Object>` | `getWorkingPlanningEntityList()`
`Random` | `getWorkingRandom()`
`Solution` | `getWorkingSolution()`
`boolean` | `isBestSolutionInitialized()`
`void` | `reset()`
`void` | `setBestSolutionStepIndex(int bestSolutionStepIndex)`
`void` | `setStartingScore(Score startingScore)`
`String` | `toString()`

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

Field Detail

### logger

    protected final transient org.slf4j.Logger logger

### solverScope

    protected final DefaultSolverScope solverScope

### startingSystemTimeMillis

    protected long startingSystemTimeMillis

### startingScore

    protected Score startingScore

### bestSolutionStepIndex

    protected int bestSolutionStepIndex

Constructor Detail

### AbstractSolverPhaseScope

    public AbstractSolverPhaseScope(DefaultSolverScope solverScope)

Method Detail

### getSolverScope

    public DefaultSolverScope getSolverScope()

### getStartingSystemTimeMillis

    public long getStartingSystemTimeMillis()

### getStartingScore

    public Score getStartingScore()

### setStartingScore

    public void setStartingScore(Score startingScore)

### getBestSolutionStepIndex

    public int getBestSolutionStepIndex()

### setBestSolutionStepIndex

    public void setBestSolutionStepIndex(int bestSolutionStepIndex)

### getLastCompletedStepScope

    public abstract AbstractStepScope getLastCompletedStepScope()

### reset

    public void reset()

### getSolutionDescriptor

    public SolutionDescriptor getSolutionDescriptor()

### getScoreDefinition

    public ScoreDefinition getScoreDefinition()

### calculateSolverTimeMillisSpend

    public long calculateSolverTimeMillisSpend()

### calculatePhaseTimeMillisSpend

    public long calculatePhaseTimeMillisSpend()

### getScoreDirector

    public ScoreDirector getScoreDirector()

### getWorkingSolution

    public Solution getWorkingSolution()

### getWorkingPlanningEntityList

    public List<Object> getWorkingPlanningEntityList()

### calculateScore

    public Score calculateScore()

### assertExpectedWorkingScore

    public void assertExpectedWorkingScore(Score expectedWorkingScore)

### assertWorkingScoreFromScratch

    public void assertWorkingScoreFromScratch(Score workingScore)

### assertUndoMoveIsUncorrupted

    public void assertUndoMoveIsUncorrupted(Move move,
                                            Move undoMove)

### getWorkingRandom

    public Random getWorkingRandom()

### isBestSolutionInitialized

    public boolean isBestSolutionInitialized()

### getBestScore

    public Score getBestScore()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.0.0.Beta1
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.