Class SetBeliefStep

  • All Implemented Interfaces:
    IComponentStep<java.lang.Void>

    public class SetBeliefStep
    extends java.lang.Object
    implements IComponentStep<java.lang.Void>
    • Field Detail

      • beliefs

        protected java.util.Map beliefs
    • Constructor Detail

      • SetBeliefStep

        public 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.
      • SetBeliefStep

        public SetBeliefStep​(java.util.Map beliefs)
        Sets multiple agent beliefs.
        Parameters:
        beliefs - The beliefs.