Class BeliefIncrementPlan


  • public class BeliefIncrementPlan
    extends Plan
    This plan increments a belief once or in time intervals. Requires parameter 'beliefname' (type has to be int/Integer). Supports optional parameters 'value' or 'values' for value(s) to add and 'rate' for enabling continuous changes (milliseconds delay).
    • Field Detail

      • beliefname

        protected java.lang.String beliefname
        The beliefname.
      • values

        protected java.lang.Number[] values
        The values to add.
      • rate

        protected long rate
        The change rate.
    • Constructor Detail

      • BeliefIncrementPlan

        public BeliefIncrementPlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan