Class UniversityAgent


  • public class UniversityAgent
    extends java.lang.Object
    Go to university example taken from Winikoff, Padgham: developing intelligent agent systems, 2004.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected jadex.bridge.IInternalAccess agent  
      protected boolean raining
      Belief if it is currently raining.
    • Constructor Summary

      Constructors 
      Constructor Description
      UniversityAgent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void body()
      The agent body is executed on startup.
      protected void takeX​(UniversityAgent.TakeXGoal goal)
      Take X plan for the take X goal.
      protected void tramPlan​(jadex.bdiv3.runtime.IPlan plan)
      The tram plan for come to university goal.
      • Methods inherited from class java.lang.Object

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

      • agent

        protected jadex.bridge.IInternalAccess agent
      • raining

        protected boolean raining
        Belief if it is currently raining. Set through an agent argument.
    • Constructor Detail

      • UniversityAgent

        public UniversityAgent()
    • Method Detail

      • body

        public void body()
        The agent body is executed on startup. It creates and dispatches a come to university goal.
      • tramPlan

        protected void tramPlan​(jadex.bdiv3.runtime.IPlan plan)
        The tram plan for come to university goal. Tram is always a good idea.