jadex.bdi.planlib.iasteps
Class SetBeliefStep

java.lang.Object
  extended by jadex.bdi.planlib.iasteps.SetBeliefStep
All Implemented Interfaces:
IComponentStep

public class SetBeliefStep
extends Object
implements IComponentStep


Field Summary
protected  Map beliefs
           
 
Constructor Summary
SetBeliefStep(Map beliefs)
          Sets multiple agent beliefs.
SetBeliefStep(String belief, Object fact)
          Sets an agent's belief.
 
Method Summary
 Object execute(IInternalAccess ia)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beliefs

protected Map beliefs
Constructor Detail

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.
Method Detail

execute

public Object execute(IInternalAccess ia)
Specified by:
execute in interface IComponentStep


Copyright © 2010. All Rights Reserved.