jadex.testcases.plans
Agent MultiplePlanTriggers
jadex.testcases.plans.MultiplePlanTriggers
jadex.planlib.Test
- agent MultiplePlanTriggers
- contains jadex.planlib.Test
Agent arguments: testcenter- testcenter AgentIdentifier
Test multiple plan triggers
In this test scenario a plan has more than one plan trigger,
e.g. a beliefchange and a condition.
This testcases fails.
Problem: condition, beliefchange, beliefsetchanges create
their own conditions that are activated independently. Hence
a plan is activated more than once for the same event.
Configuration Summary |
default configuration |
default
|
bel_a
belief int bel_a
- Default fact:
0
plan_cnt
belief int plan_cnt
- Default fact:
0
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
a_changed
standard plan a_changed()
- Plan body:
new BeliefIncrementPlan("plan_cnt")
- Plan trigger:
- Condition
$beliefbase.bel_a>0
- Belief change
bel_a
tester
standard plan tester()
- Plan body:
default
default configuration default
- Initial Plans:
- tester
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.