Exemplo n.º 1
0
 public void SetReasoner(Reasoner reasoner)
 {
     this.reasoner = reasoner;
     if (successor != null)
     {
         successor.SetReasoner(reasoner);
     }
 }
Exemplo n.º 2
0
 public void InsertAgentArchitecture(AgentArchitecture agArch)
 {
     if (agArch != GetFirstAgentArchitecture())
     {
         agArch.successor = GetFirstAgentArchitecture();
     }
     if (reasoner != null)
     {
         agArch.SetReasoner(this.GetReasoner());
         GetReasoner().SetAgArch(agArch);
     }
     SetFirstAgArch(agArch);
 }