Activity for Daniel Souza

  • Daniel Souza Daniel Souza posted a comment on discussion Help

    If you dispatch a goal with recur condition, this condition will not listen to the belief if the goal still inprocess. It is required to change outside the execution of the same one. @Agent public class testeBDI { @Belief protected int change = 0; @Goal(recur=true) public class FactChangedGoal { @GoalRecurCondition public boolean recur(@Event(type=ChangeEvent.FACTCHANGED,value="change") ChangeInfo change) { System.out.println("FactChangedGoal :: Recur :: ChangeInfo: " + change); return true; } }...

1