예제 #1
0
 public AssossiativeSet<Agent> GetTagedAgentOfTransitionBetween(ActionState a, ActionState b)
 {
     ActionIndecisionPair key = new ActionIndecisionPair(a, b);
     key = TransitionRelation.Find(x => x.Equals(key));
     if (key == null) return null;
     return key.TagedAgents;
 }
예제 #2
0
 public EAState(EpisState modelState, ActionState actionState)
 {
     ModelState = modelState;
     ActionState = actionState;
 }
예제 #3
0
        public AssossiativeSet <Agent> GetTagedAgentOfTransitionBetween(ActionState a, ActionState b)
        {
            ActionIndecisionPair key = new ActionIndecisionPair(a, b);

            key = TransitionRelation.Find(x => x.Equals(key));
            if (key == null)
            {
                return(null);
            }
            return(key.TagedAgents);
        }