Package jadex.bdiv3.examples.hellopure
Class HelloPureGoalAgent
- java.lang.Object
-
- jadex.bdiv3.runtime.BDIAgent
-
- jadex.bdiv3.examples.hellopure.HelloPureGoalAgent
-
public class HelloPureGoalAgent extends jadex.bdiv3.runtime.BDIAgent
BDI agent that uses belief to trigger goal and execute plans. The goal has a target condition based on the state of its 'text' parameter. Pure BDI agent that is not bytecode enhanced. This is achieved by using the baseclass BDIAgent that signals enhancement has already been done.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HelloPureGoalAgent.HelloGoal
-
Constructor Summary
Constructors Constructor Description HelloPureGoalAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
static void
main(java.lang.String[] args)
Start a platform and the example.protected jadex.commons.future.IFuture<java.lang.Void>
printHello1(HelloPureGoalAgent.HelloGoal goal)
protected void
printHello2(HelloPureGoalAgent.HelloGoal goal)
protected jadex.commons.future.IFuture<java.lang.Void>
printHello3(HelloPureGoalAgent.HelloGoal goal)
-
-
-
Method Detail
-
body
public void body()
-
printHello1
protected jadex.commons.future.IFuture<java.lang.Void> printHello1(HelloPureGoalAgent.HelloGoal goal)
-
printHello2
protected void printHello2(HelloPureGoalAgent.HelloGoal goal)
-
printHello3
protected jadex.commons.future.IFuture<java.lang.Void> printHello3(HelloPureGoalAgent.HelloGoal goal)
-
main
public static void main(java.lang.String[] args)
Start a platform and the example.
-
-