// // PRIVATE METHODS // private bool isTerminal(S s) { bool terminal = false; if (null != s && actionsFunction.actions(s).Size() == 0) { // No actions possible in state is considered terminal. terminal = true; } return(terminal); }
public virtual ISet <A> actions(S s) { return(actionsFunction.actions(s)); }