ApproximationControl
Controls for functions related to state space approximation
IsApplyStateFiltering
Definition
Defines whether to filter the state to be explored. There are two types of logic for filtering states:
Global filtering: filters on states in stages.
Local filtering: filters on state transitions.
Return
Boolean
Whether to apply state filtering logic.
False
Example (Default Logic)
IsApplyApproximation
Definition
Whether to apply the approximation method to filter the states during global filtering.
Return
Boolean
Whether to apply approximation logic to global filtering.
False
Example (Default Logic)
IsUseEstimationValue
Definition
Set whether to calculate and utilize value estimates in states.
Return
Boolean
True: Apply False: Do not apply
False
Example (Default Logic)
GetEstimationValueUpdatePeriod
Definition
Sets the frequency at which the value estimate is calculated for a state. In other words, if that frequency is n, then every nth state, the value estimate for the state is calculated.
Return
Integer
The frequency at which the value estimate of the state is calculated.
1
Example (Default Logic)
GetEstimationValueStopStageIndex
Definition
Set the stage index at which to stop calculating the estimated value of the state. In other words, if the value is n and the stage Index is greater than n, the state value estimate is not calculated.
Return
Integer
The stage index at which to start calculating the estimated value of the state.
Int32.MaxValue
Example (Default Logic)
GetStateFilteringType
Definition
Set up logic to filter the states to explore.
Return
StateFilteringType
State filtering type.
Example (Default Logic)
GetGlobalTransitionCount
Definition
Sets the number of states to explore when applying global filtering. For example, if you set the value to 1000, only 1000 states will remain in the stage, and the remaining states will be excluded.
Definition
Integer
The number of states to explore after global filtering.
1000
Example (Default Logic)
GetApproximationTransitionCount
Definition
Sets the number of states to explore when applying global filtering using the approximation method. For example, if you set the value to 1000, only 1000 states will remain in the stage, and the remaining states will be excluded.
Return
Integer
The number of states to explore after global filtering using the approximation method.
10
Example (Default Logic)
GetClusterTransitionCount
Definition
Sets the number of states to explore when applying global filtering using the state clustering method. For example, if you set the value to 10, only 10 states will remain in the stage, and the remaining states will be excluded.
Return
Integer
The number of states to explore after global filtering using the state clustering method.
2
Example (Default Logic)
GetLocalTransitionCount
Definition
Sets the number of states to explore when applying local filtering. For example, if you set the value to 1, only 1 of the state transitions from a state will be selected to navigate to the next state defined in that transition.
Return
Integer
The number of states to explore after local filtering.
1
Example (Default Logic)
GetGlobalFilteringStartStageIndex
Definition
Sets the stage index to start applying the global filtering logic. For example, if you set this value to 0, the global filtering logic will be applied to all stages with an Index greater than or equal to 0.
Return
Integer
The stage index to start applying the global filtering logic.
0
Example (Default Logic)
GetLocalFilteringStartStageIndex
Definition
Sets the stage index to start applying the local filtering logic. For example, if you set this value to 0, the local filtering logic will be applied to all stages with an Index greater than or equal to 0.
Return
Integer
The stage index to start applying the local filtering logic.
0
Example (Default Logic)
GetApproximationStartStageIndex
Definition
Sets the stage index to start applying the global filtering logic using approximation method. For example, if you set this value to 0, the approximation method will be applied to all stages with an Index greater than or equal to 0.
Return
Integer
The stage index to start applying the global filtering logic using approximation method.
0
Example (Default Logic)
GetMinimumTransitionCost
Definition
Sets the smallest transition cost for all possible transitions. This value is a parameter used to filter the states to be explored by the approximation method.
Return
Integer
The smallest possible transition cost.
0
Example (Default Logic)
GetMultiplier
Definition
This parameter is used to filter the states to be explored by the approximation method. The higher the value, the more states will be explored, increasing computation time and potentially improving the objective function value.
Return
Double
The value of the multiplier parameter.
2
Example (Default Logic)
GetEstimatedValue
Definition
Sets an estimate of the value function of a given state. This estimate is used to apply approximation method to reduce the number of states to explore.
Parameters
State
The state to compute the value function estimate.
Return
Double
An estimate of the value function of the state.
Example (Default Logic)
FilterGlobalStates
Definition
Defines the global filtering logic and returns a list of states to explore.
Parameters
List<State>
The list of states before filtering.
Integer
The maximum number of states to explore after filtering.
ObjectiveFunctionType
The type of objective function in the problem. (Maximize, Minimize)
Double
The tolerance value that is applied when determining the state pruning condition.
Boolean
Whether to apply state clustering method.
Return
List<State>
The list of states to explore after global filtering.
Example (Default Logic)
FilterLocalStates
Definition
Defines the local filtering logic and returns a list of states to explore.
Parameters
List<State>
The list of states before filtering.
Integer
The maximum number of states to explore after filtering.
Return
List<State>
The list of states to explore after local filtering.
Example (Default Logic)
CanPruneByApproximation
Definition
Sets whether a given state should be excluded from exploration when reducing the number of states to explore via approximation methods.
Parameters
State
The state to be evaluated.
ObjectiveFunctionType
The type of objective function in the problem. (Maximize, Minimize)
Double
The smallest of the value function estimates of the candidate states to explore.
Double
The smallest possible transition cost.
Double
The value of the multiplier parameter.
Double
The tolerance value that is applied when determining the state pruning condition.
Return
Boolean
Whether to prune the state.
Example (Default Logic)
Last updated