Class DynamicBeliefBDI


  • public class DynamicBeliefBDI
    extends java.lang.Object
    Agent that has two beliefs. num2 belief depends on num1 and a plan depends on changes of num2.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IInternalAccess agent
      The agent (injected).
      protected int num1
      The belief num1.
      protected int num2
      The belief num2 depending on num1.
      protected TestReport tr
      The test report.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void body()
      The agent body.
      protected void successPlan​(int num)
      Plan that reacts on belief changes of num2.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • num1

        protected int num1
        The belief num1.
      • num2

        protected int num2
        The belief num2 depending on num1.
    • Constructor Detail

      • DynamicBeliefBDI

        public DynamicBeliefBDI()
    • Method Detail

      • successPlan

        protected void successPlan​(int num)
        Plan that reacts on belief changes of num2.
      • body

        public void body()
        The agent body.