Jadex 0.96

jadex.testcases.goals
Agent GoalBindings

jadex.testcases.goals.GoalBindings
  • jadex.planlib.Test

  • agent GoalBindings
    contains jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test the creation of goals with binding parameters.

    An initial goal is specified in the configuration. Due to several binding options, three instances of the goal are created and dispatched.


    Belief Summary
    belief boolean create
              
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    performgoal test(int num)
              
     
    Plan Summary
    standard plan printer(int num)
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    create

    belief boolean create
    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

    test

    performgoal test(int num)
    Parameters:
    in parameter num Default value:  0
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    post to all: false
    Creation Condition:
    $beliefbase.create
    Plan Detail

    printer

    standard plan printer(int num)
    Parameters:
    in parameter num Default value:  0
     (goal mappings: test.num)
    Plan body:
    new StoreReportPlan(new TestReport("goal_binding", "Initial goal with binding "+$plan.num, true, null))
    Plan trigger:
    Goals:
    test
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  3
    Initial Goals:
    test

    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.