equivalent_states {tictactoe} | R Documentation |
Equivalent States
Description
Returns a set of equivalent states and actions
Usage
equivalent_states(state)
equivalent_states_actions(state, action)
Arguments
state |
state, 3x3 matrix |
action |
integer vector of indices (1 to 9) |
Value
equivalent_states
returns a list of state matrices
equivalent_states_actions
returns a list of two lists:
states
, the set of equivalent states and
actions
, the set of equivalent actions
[Package tictactoe version 0.2.2 Index]