Jadex 0.96

jadex.testcases.goals
Agent GoalRecur

jadex.testcases.goals.GoalRecur
  • jadex.planlib.Test

  • agent GoalRecur
    contains jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test a goal recur.

    Tests if the recur continues to process goals even if there are no plans.


    Belief Summary
    belief boolean context
              
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoal achi()
              
    performgoal perf()
              
    querygoal quer(String result)
              
     
    Plan Summary
    standard plan result_plan()
              
    standard plan result_plan2(String result)
              
    standard plan testplan()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    context

    belief boolean context
    Default fact:
    false

    testcase_cnt

    beliefref int testcase_cnt
    Default fact:
    1
    Referenced from:
    testcase_cnt in capability jadex.planlib.Test

    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  reports
    Referenced from:
    reports in capability jadex.planlib.Test
    Goal Detail

    perf

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

    achi

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

    quer

    querygoal quer(String result)
    Parameters:
    out parameter result
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    post to all: false
    Plan Detail

    result_plan

    standard plan result_plan()
    Plan body:
    new ResultPlan(true, "dummy")
    Plan trigger:
    Goals:
    perf
    Goals:
    achi

    result_plan2

    standard plan result_plan2(String result)
    Parameters:
    in parameter result (goal mappings: quer.result)
    Plan body:
    new ResultPlan(true, "dummy")
    Plan trigger:
    Goals:
    quer

    testplan

    standard plan testplan()
    Plan body:
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  6
    Initial Goals:
    perf
    achi
    quer
    Initial Plans:
    testplan

    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.