Method | Description | |
---|---|---|
GetAction ( double action, int parentStateId, int childStateId ) : AI.Action |
Converts a double into an IAction.
|
|
GetState ( |
Converts the state vector into an MDP state.
|
|
GetStates ( Matrix states, |
Converts a Matrix of states into an array of State objects.
|
|
GetStates ( Matrix states, |
Returns a graph of MDP States from the States matrices and Action label vector.
|
|
GetStates ( Matrix states, |
Returns a flat collection of states/actions and their transition states.
|
|
ToExamples ( this state ) : Tuple |
Converts an MDP State (recursively) into it's equivalent math form, including all successor states.
|
|
ToExamples ( this |
Converts an enumerable of MDP States (recursively) into their equivalent math forms, including their successor states.
|
|
ToVector ( this state ) : |
Converts the MDP State into a vector form.
|
Method | Description | |
---|---|---|
Convert ( this state, List |
Converts the experience pair into their equivalent math forms.
|
|
GetActionKey ( int stateId, int tStateId ) : string |
public static GetAction ( double action, int parentStateId, int childStateId ) : AI.Action | ||
action | double | Double. |
parentStateId | int | Parent state identifier. |
childStateId | int | Child state identifier. |
return | AI.Action |
public static GetState ( |
||
state | State vector. | |
summary | Feature properties from the original set. | |
discretizer | IDiscretizer | Discretization function for generating unique state identifiers. |
return | MDPState |
public static GetStates ( Matrix states, |
||
states | Matrix | State matrix. |
properties | (Optional) Feature summary. | |
discretizer | IDiscretizer | Disretization function to apply for reducing states. |
return | IEnumerable |
public static GetStates ( Matrix states, |
||
states | Matrix | State matrix. |
actions | Action label vector. | |
statesP | Matrix | Transition states matrix. |
reward | Reward value vector. | |
properties | Feature properties from the original set. | |
discretizer | IDiscretizer | Discretization function for generating unique state identifiers. |
return | IEnumerable |
public static GetStates ( Matrix states, |
||
states | Matrix | State matrix. |
actions | Action label vector. | |
statesP | Matrix | Transition states matrix. |
properties | (Optional) Feature summary. | |
discretizer | IDiscretizer | Disretization function to apply for reducing states. |
return | Tuple |
public static ToExamples ( this state ) : Tuple |
||
state | this | The starting state. |
return | Tuple |
public static ToExamples ( this |
||
states | this |
An enumerable of states. |
return | Tuple |
public static ToVector ( this state ) : |
||
state | this | MDP State. |
return |