jadex.testcases.goals
Agent QueryGoal
- agent QueryGoal
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.
Initial State Summary |
default initial state |
default
|
mygoal
querygoal mygoal(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
- meta-level reasoning: true
- 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: mygoal.a)- in parameter
b
(goal mappings: mygoal.b)- in parameter
c
(goal mappings: mygoal.c)- in parameter
d
(goal mappings: mygoal.d)- in parameterset
outs
(goal mappings: mygoal.outs) - Plan body:
new ResultSetterPlan()
- Goal Trigger:
mygoal
default
default initial state default
- Initial Goals:
- mygoal
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.