示例#1
0
        //
        // 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);
        }
示例#2
0
 public virtual ISet <A> actions(S s)
 {
     return(actionsFunction.actions(s));
 }