Package jadex.bdiv3.testcases.beliefs
Class DynamicBeliefBDI
- java.lang.Object
-
- jadex.bdiv3.testcases.beliefs.DynamicBeliefBDI
-
public class DynamicBeliefBDI extends java.lang.ObjectAgent 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 IInternalAccessagentThe agent (injected).protected intnum1The belief num1.protected intnum2The belief num2 depending on num1.protected TestReporttrThe test report.
-
Constructor Summary
Constructors Constructor Description DynamicBeliefBDI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()The agent body.protected voidsuccessPlan(int num)Plan that reacts on belief changes of num2.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent (injected).
-
num1
protected int num1
The belief num1.
-
num2
protected int num2
The belief num2 depending on num1.
-
tr
protected TestReport tr
The test report.
-
-