Menu

Update belief sets

Ami
2016-07-25
2016-07-26
  • Ami

    Ami - 2016-07-25

    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

     
  • Lars Braubach

    Lars Braubach - 2016-07-26

    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

     

Log in to post a comment.