jadex.testcases.goals
Agent QueryGoal
jadex.testcases.goals.QueryGoal
jadex.planlib.Test
- agent QueryGoal
- contains jadex.planlib.Test
Agent arguments: testcenter- testcenter AgentIdentifier
Test a query goal.
The query goal succeeds after all (in)out parameters are written.
Note, that the plan parameters are mapped to the goal parameters.
When the plan finishes all these mapped values will be written
back to the goal causing it to succeed or try again.
Configuration Summary |
default configuration |
default
|
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
querygoal testgoal(String a,
String b,
String c,
String d,
String [set] outs)
- Parameters:
- out parameter
a
- out parameter
b
- out parameter
c
- optional in parameter
d
- in parameterset
outs
Default values:
"a"
"b"
"c"
- BDI flags:
- retry: true
- retry delay: 1000
- exclude: never
- random selection: false
- post to all: false
myplan
standard plan myplan(String a,
String b,
String c,
String d,
String [set] outs)
- Parameters:
- in parameter
a
(goal mappings: testgoal.a)
- in parameter
b
(goal mappings: testgoal.b)
- in parameter
c
(goal mappings: testgoal.c)
- in parameter
d
(goal mappings: testgoal.d)
- in parameterset
outs
(goal mappings: testgoal.outs)
- Plan body:
- Plan trigger:
- Goals:
testgoal
testplan
standard plan testplan()
- Plan body:
new GenerateGoalPlan()
default
default configuration default
- Initial Plans:
- testplan
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.