jadex.testcases.goals
Agent UniqueGoal
jadex.testcases.goals.UniqueGoal
jadex.planlib.Test
- agent UniqueGoal
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Testing uniqueness properties of goals.
Per default all parameter values of goals are tested for
equality. If some parameters need to be excluded use
the exclude tag within the unique tag.
Goal Summary |
performgoal |
testgoal(int p_exc, int p_inc)
A goal with unique settings concerning only parameter p_inc. |
Configuration Summary |
default configuration |
default
|
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
testgoal
performgoal testgoal(int p_exc,
int p_inc)
- A goal with unique settings concerning only parameter p_inc.
- Parameters:
- in parameter
p_exc
Default value:
0
- in parameter
p_inc
Default value:
0
- BDI flags:
- retry: true
- retry delay: 0
- exclude: never
- random selection: false
- post to all: false
- Uniqueness enabled:
- excluded parameter p_exc
work
standard plan work()
- Plan body:
- Plan trigger:
- Goals:
testgoal
test_plan
standard plan test_plan()
- Plan body:
new UniqueGoalPlan()
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
3
- Initial Plans:
- test_plan
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.