Jadex 0.96

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
          
exported beliefset double plans
          
 
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)
          
 
Event Summary
exported internalevent testfilter()
          
exported internalevent testinternalevent()
          
exported messageevent testmessageevent(String content)
          
 

Belief Detail

plans

exported beliefset double plans

importance

beliefset double importance
Default facts:
Math.random()
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
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
post to all: false
Goal trigger:
Internal events:
testinternalevent
Message events:
testmessageevent
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:
Plan trigger:
Goals:
ml_goal

app_plan

standard plan app_plan(double importance)
Parameters:
in parameter importance Default value:  0
Plan body:
new ResultPlan(false, new Double($plan.importance), "plans")
Plan trigger:
Goals:
app_goal
Internal events:
testinternalevent
Message events:
testmessageevent
Filter
new InternalEventFilter("testfilter")
Event Detail

testinternalevent

exported internalevent testinternalevent()
Event flags:
random selection: false
post to all: true

testfilter

exported internalevent testfilter()
Event flags:
random selection: false
post to all: true

testmessageevent

exported messageevent testmessageevent(String content)
Parameters:
fixed parameter content Default value:  "testcontent"
Event flags:
direction: send_receive
message type: fipa
random selection: false
post to all: false

Jadex 0.96

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.