jadex.testcases.beliefs
Agent PropagateChanges
jadex.testcases.beliefs.PropagateChanges
jadex.planlib.Test
- agent PropagateChanges
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
This agent tests change propagation of beliefs (and goal parameters)
Use the BDI-viewer to perform the test.
When the belief "my_value" is changed to "magic"
the dependent belief "react_on value" should
have the value "magic" as well.
When from the beliefset "my_values" one value
is deleted the dependent belief "react_on_values"
should have the value "magic".
Plan Summary |
standard plan |
tester()
|
Configuration Summary |
default configuration |
default
|
my_value
belief String my_value
- Default fact:
"blurps"
react_on_value
belief String react_on_value
- Default fact: (dynamic)
$beliefbase.my_value.equals("magic")? "magic": "n/a"
react_on_values
belief String react_on_values
- Default fact: (dynamic)
$beliefbase.my_values.length==2? "magic": "n/a"
my_values
beliefset int my_values
- Default facts:
0
1
2
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 reports
- Referenced from:
reports
in capability jadex.planlib.Test
tester
standard plan tester()
- Plan body:
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
2
- 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.