Package jadex.bdiv3.examples.university
Class UniversityAgent
- java.lang.Object
- 
- jadex.bdiv3.examples.university.UniversityAgent
 
- 
 public class UniversityAgent extends java.lang.ObjectGo to university example taken from Winikoff, Padgham: developing intelligent agent systems, 2004.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classUniversityAgent.ComeToUniGoalThe top-level goal to come to the university.protected static classUniversityAgent.TakeXGoalThe take x goal is for using a train or tram.protected classUniversityAgent.TrainPlanThe train plan for the come to university goal.protected classUniversityAgent.WalkPlanThe walk plan for the come to university goal.
 - 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentprotected booleanrainingBelief if it is currently raining.
 - 
Constructor SummaryConstructors Constructor Description UniversityAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()The agent body is executed on startup.protected voidtakeX(UniversityAgent.TakeXGoal goal)Take X plan for the take X goal.protected voidtramPlan(IPlan plan)The tram plan for come to university goal.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent 
 - 
rainingprotected boolean raining Belief if it is currently raining. Set through an agent argument.
 
- 
 - 
Method Detail- 
bodypublic void body() The agent body is executed on startup. It creates and dispatches a come to university goal.
 - 
tramPlanprotected void tramPlan(IPlan plan) The tram plan for come to university goal. Tram is always a good idea.
 - 
takeXprotected void takeX(UniversityAgent.TakeXGoal goal) Take X plan for the take X goal.
 
- 
 
-