public class SelectiveBeliefChangeBDI
I wrote an agent that was triggering self regulating plans based on a belief
(ie. @Trigger(factchangeds="belief")). then I tried using this same belief
in a goal condition (@GoalCreationCondition).
When I ran the agent with the Goal implemented, the plans associated with triggers
senstive to this belief would not execute. I created a test case Agent to observe this behaviour.
I have implemented a belief called number which triggers the numberChangedPlan plan with the
factchangeds propertyListener in the trigger.
I have also created a dummy goal GenericGoal which uses the belief number
in the @GoalCreationCondition. If you run the agent with the goal present
in the agent description class, then the numberChangedPlan will not be triggered.
with the Goal commented out, numberChangedPlan is triggered.
Is this expected behaviour?
-> problem was method not being static