jadex.testcases.plans
Agent WaitForBelief
jadex.testcases.plans.WaitForBelief
jadex.planlib.Test
- agent WaitForBelief
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Test waiting for belief changes.
The agent has a belief storing a number that is incremented in
intervals of 3 seconds. Another plan waits for those belief
changes and prints out some message whenever they occur.
Configuration Summary |
default configuration |
default
|
some_number
belief int some_number
- Default fact:
0
testcase_cnt
beliefref int testcase_cnt
- Default fact:
1
- Referenced from:
testcase_cnt
in capability jadex.planlib.Test
timeout
exported beliefref long timeout
- Default fact:
0
- Referenced from:
timeout
in capability jadex.planlib.Test
testcenter
exported beliefref AgentIdentifier testcenter
- Referenced from:
testcenter
in capability jadex.planlib.Test
reports
beliefsetref TestReport reports
- Referenced from:
reports
in capability jadex.planlib.Test
starter
standard plan starter()
- Plan body:
incrementer
standard plan incrementer()
- Plan body:
new BeliefIncrementPlan("some_number", new int[]{0,1}, 100)
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
3
- Initial Plans:
- starter
- incrementer
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.