jadex.testcases.beliefs
Agent PropagateChanges
- agent PropagateChanges
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".
description
belief String description
- Default fact:
"Change belief my_value to \"magic\" and remove a fact from belief my_values."
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
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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.