Jadex 0.96

jadex.testcases.misc
Agent InitialTransaction

jadex.testcases.misc.InitialTransaction
  • jadex.planlib.Test

  • agent InitialTransaction
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Test the atomic execution of the start agent action.

    If the start agent action is executed as transaction evaluating the initial fact of the belief should trigger the plan printing the belief value ("Hello World!").


    Belief Summary
    beliefsetref reports
              
    belief String result
              
    exported beliefref AgentIdentifier testcenter
              
    belief String text
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan print()
              
    standard plan tester()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    text

    belief String text
    Default fact:
    "Hello World!"

    result

    belief String result
    Default fact:
    "sth"

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

    print

    standard plan print()
    Plan body:
    new ResultPlan(true, $beliefbase.text, "result")
    Plan trigger:
    Condition
    $beliefbase.text!=null

    tester

    standard plan tester()
    Plan body:
    Configuration Detail

    default

    default configuration default
    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.