jadex.testcases.goals
Agent Posttoall
- agent Posttoall
This agent tests a post-to-all goal.
Obsolete: Superseded by GoalRegressionTestAgent.
This agent has three plans that react on the
at the start time created achieve goal "test".
The ResultPlan gets as parameter in its body
the result of its actions. Therefore by modifying
the parameters one can test the behaviour of the
different post-to-all goal semantics.
posttoall=true : For the goal several plans are
dispatched simultaneously.
posttoallor=true : OR semantics (the goal
succeeds when at least one plan succeeds) else AND
posttoallabort=true : Abort plans when goal is
already finished.
Goal Summary |
achievegoal |
test()
|
Plan Summary |
standard plan |
one()
|
standard plan |
three()
|
standard plan |
two()
|
Initial State Summary |
default initial state |
default
|
test
achievegoal test()
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- meta-level reasoning: true
- post to all: true
one
standard plan one()
- Plan body:
new ResultPlan(100, true)
- Goal Trigger:
test
two
standard plan two()
- Plan body:
new ResultPlan(100, false)
- Goal Trigger:
test
three
standard plan three()
- Plan body:
new ResultPlan(100, true)
- Goal Trigger:
test
default
default initial state default
- Initial Goals:
- test
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.