Jadex 0.96

jadex.testcases.plans
Agent MicroPlanStepExecution

jadex.testcases.plans.MicroPlanStepExecution
  • jadex.planlib.Test

  • agent MicroPlanStepExecution
    contains jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test the micro-plan step execution of plans.

    Micro plan step agent; tests the micro plan step execution of a plan.


    Belief Summary
    belief boolean a
              
    belief int a_cnt
              
    belief int ab_cnt
              
    belief boolean b
              
    belief int b_cnt
              
    beliefsetref TestReport reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan tester()
              
    standard plan triggered_a()
              
    standard plan triggered_ab()
              
    standard plan triggered_b()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    a

    belief boolean a
    Default fact:
    false

    b

    belief boolean b
    Default fact:
    false

    a_cnt

    belief int a_cnt
    Default fact:
    0

    b_cnt

    belief int b_cnt
    Default fact:
    0

    ab_cnt

    belief int ab_cnt
    Default fact:
    0

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

    tester

    standard plan tester()
    Plan body:

    triggered_a

    standard plan triggered_a()
    Plan body:
    new BeliefIncrementPlan("a_cnt")
    Plan trigger:
    Condition
    $beliefbase.a

    triggered_b

    standard plan triggered_b()
    Plan body:
    new BeliefIncrementPlan("a_cnt")
    Plan trigger:
    Condition
    $beliefbase.b

    triggered_ab

    standard plan triggered_ab()
    Plan body:
    new BeliefIncrementPlan("ab_cnt")
    Plan trigger:
    Condition
    $beliefbase.a && $beliefbase.b
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  3
    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.