示例#1
0
    // Use this for initialization
    public BDI(Agent agent)
    {
        myAgent = agent;
        MesoGroup mesoGroup = new MesoGroup(agent.Settings.MyGroup);

        belief     = new Belief(mesoGroup);
        desire     = new Desire(agent.GetType());
        intention  = null;
        perception = new Perception(myAgent);
        feelings   = new Feelings();
        reasoning  = new Reasoning();
    }
示例#2
0
 public Belief(MesoGroup mg)
 {
     myGroup = mg;
 }