public class BRL_ForwardRecursion extends ForwardRecursion
Recursion.OptimisationDirection
direction, horizonLength, stateMonitoring, stateSpace, transitionProbability, valueRepository
Constructor and Description |
---|
BRL_ForwardRecursion(int horizonLength,
double[][][] machineLocation,
int[][] 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(BRL_StateDescriptor stateDescriptor) |
BRL_Action |
getOptimalAction(BRL_StateDescriptor stateDescriptor) |
getMonitoringInterfaceForward, runForwardRecursion, runForwardRecursionMonitoring
getExpectedValue, getStateSpace, getStateSpace, getTransitionProbability, getValueRepository, setStateMonitoring
public BRL_ForwardRecursion(int horizonLength, double[][][] machineLocation, int[][] 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(BRL_StateDescriptor stateDescriptor)
public BRL_Action getOptimalAction(BRL_StateDescriptor stateDescriptor)
Copyright © 2017–2018. All rights reserved.