Hello Everyone,
I'd like to know whether there is a way to update an agent 's belief set during a run time? I have this belief for my agent: @Belief protected boolean SelectedPlan = agent.getConfiguration().equals("otherplan");
And, I run my program and a goal successfully achieved I'd like to have a new belief set based one the current goal and action.
Regards,
Ameneh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
beliefs are just normal Java objects, which are monitored for changes (to allow triggering e.g. goal conditions). You can modify beliefs and belief sets as you like.
Best
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Everyone,
I'd like to know whether there is a way to update an agent 's belief set during a run time? I have this belief for my agent:
@Belief protected boolean SelectedPlan = agent.getConfiguration().equals("otherplan");
And, I run my program and a goal successfully achieved I'd like to have a new belief set based one the current goal and action.
Regards,
Ameneh
Hi Ameneh,
beliefs are just normal Java objects, which are monitored for changes (to allow triggering e.g. goal conditions). You can modify beliefs and belief sets as you like.
Best
Lars