Exemple #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;
 }
Exemple #2
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);
        }