Jadex 0.96

jadex.testcases.plans
Agent MLRRetry

jadex.testcases.plans.MLRRetry
  • jadex.planlib.Test

  • agent MLRRetry
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Test retry in meta-level reasoning.

    Test for ensuring that retry works in combination with meta-level reasoning. In response to forum post of a-orler at 02/17/06.


    Belief Summary
    beliefsetref TestReport reports
              
    belief int result
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoal app_goal()
              
    metagoal ml_goal(ICandidateInfo [set] applicables, ICandidateInfo [set] result)
              
     
    Plan Summary
    standard plan ml_plan(List [set] applicables, List [set] result)
              
    standard plan plan1()
              
    standard plan plan2()
              
    standard plan tester()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    result

    belief int result
    Default fact:
    0

    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
    Goal Detail

    app_goal

    achievegoal app_goal()
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    post to all: false

    ml_goal

    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:
    Goal trigger:
    app_goal
    Plan Detail

    plan2

    standard plan plan2()
    Plan body:
    new ResultPlan(-1, false, new Integer($beliefbase.result+1), "result")
    Plan trigger:
    Goals:
    app_goal

    plan1

    standard plan plan1()
    Plan body:
    new ResultPlan(-1, true, new Integer($beliefbase.result+1), "result")
    Plan trigger:
    Goals:
    app_goal

    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

    tester

    standard plan tester()
    Plan body:
    Configuration Detail

    default

    default configuration default
    Initial Goals:
    app_goal
    Initial Plans:
    tester

    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.