jadex.testcases.goals
Agent ParameterSet
- agent ParameterSet
 
Tests if the parameter sets of goals work.
 Using the bdi viewer one should be able to
 see a goal having two parameter sets.
 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
testgoal
achievegoal testgoal(String [set] morenames, 
                     String [set] names)
- 
- Parameters:
- in parameterset morenamesDefault values:"d""e""f"
- in parameterset namesDefault values expression:new String[]{"a", "b", "c"}
- BDI flags:
- retry: true- retry delay: 0- exclude: when_tried- random selection: false- meta-level reasoning: true- post to all: false
 
printer
standard plan printer(String [set] morenames, 
                     String [set] names)
- 
- Parameters:
- in parameterset morenames(goal mappings: testgoal.morenames)
- in parameterset names(goal mappings: testgoal.names)
- Plan body:
- new ResultPlan("names: "+SUtil.arrayToString($plan.names)
				+" "+SUtil.arrayToString($plan.morenames))
- Goal Trigger:
- testgoal
 
default
default initial state default
- 
- Initial Goals:
- testgoal
 
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.