jadex.bdi.planlib.iasteps
Class SetBeliefStep
java.lang.Object
jadex.bdi.planlib.iasteps.SetBeliefStep
- All Implemented Interfaces:
- IComponentStep
public class SetBeliefStep
- extends Object
- implements IComponentStep
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beliefs
protected Map beliefs
SetBeliefStep
public SetBeliefStep(String belief,
Object fact)
- Sets an agent's belief.
- Parameters:
belief - Name of the belief.fact - New fact of the belief.
SetBeliefStep
public SetBeliefStep(Map beliefs)
- Sets multiple agent beliefs.
- Parameters:
beliefs - The beliefs.
execute
public Object execute(IInternalAccess ia)
- Specified by:
execute in interface IComponentStep
Copyright © 2010. All Rights Reserved.