Package jadex.bdi.planlib.iasteps
Class SetBeliefStep
- java.lang.Object
- 
- jadex.bdi.planlib.iasteps.SetBeliefStep
 
- 
- All Implemented Interfaces:
- IComponentStep<java.lang.Void>
 
 public class SetBeliefStep extends java.lang.Object implements IComponentStep<java.lang.Void> 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Mapbeliefs
 - 
Constructor SummaryConstructors Constructor Description SetBeliefStep(java.lang.String belief, java.lang.Object fact)Sets an agent's belief.SetBeliefStep(java.util.Map beliefs)Sets multiple agent beliefs.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>execute(IInternalAccess ia)Execute the command.
 
- 
- 
- 
Constructor Detail- 
SetBeliefSteppublic SetBeliefStep(java.lang.String belief, java.lang.Object fact)Sets an agent's belief.- Parameters:
- belief- Name of the belief.
- fact- New fact of the belief.
 
 - 
SetBeliefSteppublic SetBeliefStep(java.util.Map beliefs) Sets multiple agent beliefs.- Parameters:
- beliefs- The beliefs.
 
 
- 
 - 
Method Detail- 
executepublic IFuture<java.lang.Void> execute(IInternalAccess ia) Description copied from interface:IComponentStepExecute the command.- Specified by:
- executein interface- IComponentStep<java.lang.Void>
- Returns:
- The result of the command.
 
 
- 
 
-