jadex.testcases.plans
Agent Precondition
jadex.testcases.plans.Precondition
jadex.planlib.Test
- agent Precondition
- contains jadex.planlib.Test
Agent arguments: testcenter- testcenter AgentIdentifier
Tests precondition for a plan.
Creates several plans using a binding, from which only one is applicable
due to a precondition.
Goal Summary |
performgoal |
test()
|
Plan Summary |
standard plan |
printer(int num)
|
standard plan |
tester()
|
Configuration Summary |
default configuration |
default
|
result
belief Integer result
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 TestReport reports
- Referenced from:
reports
in capability jadex.planlib.Test
test
performgoal test()
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
printer
standard plan printer(int num)
- Parameters:
- in parameter
num
Default value:
0
- Plan body:
new ResultPlan(true, new Integer($plan.num), "result")
- Plan trigger:
- Goals:
test
tester
standard plan tester()
- Plan body:
new PreconditionTesterPlan()
default
default configuration default
- Initial Plans:
- tester
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.