Class HelloPureAgent

java.lang.Object
jadex.bdi.runtime.BDIBaseAgent
jadex.bdi.hellopure.HelloPureAgent

public class HelloPureAgent extends jadex.bdi.runtime.BDIBaseAgent
Simple hello agent that activates a plan based on a belief change. Pure BDI agent that is not bytecode enhanced. This is achieved by using the baseclass BDIAgent that signals enhancement has already been done.
  • Field Summary

    Fields inherited from class jadex.bdi.runtime.BDIBaseAgent

    __agent, __globalname, __initargs
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    body(jadex.core.IComponent agent)
    The agent body.
    static void
    main(String[] args)
    Start a platform and the example.
    protected void
     

    Methods inherited from class jadex.bdi.runtime.BDIBaseAgent

    setBeliefValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HelloPureAgent

      public HelloPureAgent()
  • Method Details

    • body

      public void body(jadex.core.IComponent agent)
      The agent body.
    • printHello1

      protected void printHello1()
    • main

      public static void main(String[] args)
      Start a platform and the example.