Jadex 0.941

jadex.testcases.plans
Capability MLR

Direct Known Containing Agents:
PlanMetaLevelReasoning

capability MLR

Test meta-level reasoning.

The capability defines one meta-level goal and plan and one application goal and plan. At runtime more than one application plan is applicable due to the bindings and the meta-level goal is created to select between the candidates.


Belief Summary
beliefset double importance
          
 
Goal Summary
exported achievegoal app_goal()
          
exported metagoal ml_goal(ICandidateInfo [set] applicables, ICandidateInfo [set] result)
          
 
Plan Summary
standard plan app_plan(double importance)
          
standard plan ml_plan(List [set] applicables, List [set] result)
          
 

Belief Detail

importance

beliefset double importance
Default facts:
Math.random()
Math.random()
Math.random()
Goal Detail

app_goal

exported achievegoal app_goal()
BDI flags:
retry: true
retry delay: 0
exclude: when_tried
random selection: false
meta-level reasoning: true
post to all: false

ml_goal

exported metagoal ml_goal(ICandidateInfo [set] applicables, 
                          ICandidateInfo [set] result)
Parameters:
in parameterset applicables
out parameterset result
BDI flags:
retry: true
retry delay: 0
exclude: when_tried
random selection: false
meta-level reasoning: true
post to all: false
Goal Trigger:
app_goal
Plan Detail

ml_plan

standard plan ml_plan(List [set] applicables, 
                     List [set] result)
Parameters:
in parameterset applicables (goal mappings: ml_goal.applicables)
in parameterset result (goal mappings: ml_goal.result)
Plan body:
new MetaLevelReasoningPlan()
Goal Trigger:
ml_goal

app_plan

standard plan app_plan(double importance)
Parameters:
in parameter importance Default value:  0
Plan body:
new ResultPlan("Plan_"+$plan.importance+" ("+SUtil.arrayToString($beliefbase.importance)+")")
Goal Trigger:
app_goal

Jadex 0.941

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.