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

## org.optaplanner.core.impl.phase.custom
Class DefaultCustomSolverPhase

    java.lang.Object
      org.optaplanner.core.impl.phase.AbstractSolverPhase
          org.optaplanner.core.impl.phase.custom.DefaultCustomSolverPhase

All Implemented Interfaces:
  EventListener, CustomSolverPhase, SolverPhaseLifecycleListener, SolverPhase, SolverLifecycleListener

    public class DefaultCustomSolverPhase

extends AbstractSolverPhase
implements CustomSolverPhase

Default implementation of `CustomSolverPhase`.

Field Summary
`protected List<CustomSolverPhaseCommand>` | `customSolverPhaseCommandList`
`protected boolean` | `forceUpdateBestSolution`

Fields inherited from class org.optaplanner.core.impl.phase.AbstractSolverPhase
`bestSolutionRecaller, logger, phaseIndex, solverPhaseLifecycleSupport, termination`

Constructor Summary
`DefaultCustomSolverPhase()`

Method Summary
`void` | `phaseEnded(CustomSolverPhaseScope phaseScope)`
`void` | `phaseStarted(CustomSolverPhaseScope phaseScope)`
`void` | `setCustomSolverPhaseCommandList(List<CustomSolverPhaseCommand> customSolverPhaseCommandList)`
`void` | `setForceUpdateBestSolution(boolean forceUpdateBestSolution)`
`void` | `solve(DefaultSolverScope solverScope)`
`void` | `stepEnded(CustomStepScope stepScope)`
`void` | `stepStarted(CustomStepScope stepScope)`

Methods inherited from class org.optaplanner.core.impl.phase.AbstractSolverPhase
`addSolverPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removeSolverPhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, solvingEnded, solvingStarted, stepEnded, stepStarted`

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

Methods inherited from interface org.optaplanner.core.impl.phase.SolverPhase
`addSolverPhaseLifecycleListener, removeSolverPhaseLifecycleListener`

Methods inherited from interface org.optaplanner.core.impl.phase.event.SolverPhaseLifecycleListener
`phaseEnded, phaseStarted, stepEnded, stepStarted`

Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
`solvingEnded, solvingStarted`

Field Detail

### customSolverPhaseCommandList

    protected List<CustomSolverPhaseCommand> customSolverPhaseCommandList

### forceUpdateBestSolution

    protected boolean forceUpdateBestSolution

Constructor Detail

### DefaultCustomSolverPhase

    public DefaultCustomSolverPhase()

Method Detail

### setCustomSolverPhaseCommandList

    public void setCustomSolverPhaseCommandList(List<CustomSolverPhaseCommand> customSolverPhaseCommandList)

### setForceUpdateBestSolution

    public void setForceUpdateBestSolution(boolean forceUpdateBestSolution)

### solve

    public void solve(DefaultSolverScope solverScope)

  Specified by:
    `solve` in interface `SolverPhase`

### phaseStarted

    public void phaseStarted(CustomSolverPhaseScope phaseScope)

### stepStarted

    public void stepStarted(CustomStepScope stepScope)

### stepEnded

    public void stepEnded(CustomStepScope stepScope)

### phaseEnded

    public void phaseEnded(CustomSolverPhaseScope phaseScope)

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