public class BRF_ForwardRecursion extends ForwardRecursion
Recursion.OptimisationDirection
direction, horizonLength, stateMonitoring, stateSpace, transitionProbability, valueRepository
Constructor and Description |
---|
BRF_ForwardRecursion(int horizonLength,
double[][][] machineLocation,
umontreal.ssj.probdist.DiscreteDistribution[][] fuelConsumption,
ImmediateValueFunction<State,Action,Double> immediateValueFunction,
Function<State,ArrayList<Action>> buildActionList,
double discountFactor,
HashType hashType,
int stateSpaceSizeLowerBound,
float loadFactor,
SamplingScheme samplingScheme,
int sampleSize,
double reductionFactorPerStage) |
Modifier and Type | Method and Description |
---|---|
double |
getExpectedCost(BRF_StateDescriptor stateDescriptor) |
BRF_Action |
getOptimalAction(BRF_StateDescriptor stateDescriptor) |
getMonitoringInterfaceForward, runForwardRecursion, runForwardRecursionMonitoring
getExpectedValue, getStateSpace, getStateSpace, getTransitionProbability, getValueRepository, setStateMonitoring
public BRF_ForwardRecursion(int horizonLength, double[][][] machineLocation, umontreal.ssj.probdist.DiscreteDistribution[][] fuelConsumption, ImmediateValueFunction<State,Action,Double> immediateValueFunction, Function<State,ArrayList<Action>> buildActionList, double discountFactor, HashType hashType, int stateSpaceSizeLowerBound, float loadFactor, SamplingScheme samplingScheme, int sampleSize, double reductionFactorPerStage)
public double getExpectedCost(BRF_StateDescriptor stateDescriptor)
public BRF_Action getOptimalAction(BRF_StateDescriptor stateDescriptor)
Copyright © 2017–2018. All rights reserved.