public abstract class BackwardRecursion extends Recursion
Recursion.OptimisationDirection
direction, horizonLength, stateMonitoring, stateSpace, transitionProbability, valueRepository
Constructor and Description |
---|
BackwardRecursion(Recursion.OptimisationDirection direction)
Creates an instance of
BackwardRecursion with the given optimization direction. |
Modifier and Type | Method and Description |
---|---|
protected void |
generateStates()
Generates the complete state space for the discrete time, discrete space, stochastic dynamic program.
|
MonitoringInterfaceBackward |
getMonitoringInterfaceBackward() |
protected void |
recurse(int period)
Backward recursion step; in order to run the recursion step for period
period
the recursion step must have been already run for all subsequent periods. |
void |
runBackwardRecursion()
Runs the backward recursion algorithm for the given stochastic dynamic program.
|
void |
runBackwardRecursion(int period)
Runs the backward recursion algorithm for the given stochastic dynamic program from period
period
up to the end of the planning horizon. |
void |
runBackwardRecursionMonitoring()
Runs the backward recursion algorithm for the given stochastic dynamic program.
|
void |
runBackwardRecursionMonitoring(int period)
Runs the backward recursion algorithm for the given stochastic dynamic program from period
period
up to the end of the planning horizon. |
getExpectedValue, getStateSpace, getStateSpace, getTransitionProbability, getValueRepository, setStateMonitoring
public BackwardRecursion(Recursion.OptimisationDirection direction)
BackwardRecursion
with the given optimization direction.direction
- the direction of optimization.public MonitoringInterfaceBackward getMonitoringInterfaceBackward()
public void runBackwardRecursionMonitoring()
public void runBackwardRecursion()
public void runBackwardRecursionMonitoring(int period)
period
up to the end of the planning horizon. This implementation of the backward recursion algorithm assumes
that the idempotent action is selected in period period
.period
- the starting period.public void runBackwardRecursion(int period)
period
up to the end of the planning horizon. This implementation of the backward recursion algorithm assumes
that the idempotent action is selected in period period
.period
- the starting period.protected void generateStates()
protected void recurse(int period)
period
the recursion step must have been already run for all subsequent periods.period
- the target period for the step.Copyright © 2017–2018. All rights reserved.