Jadex 0.96

jadex.testcases.beliefs
Agent BeanChanges

jadex.testcases.beliefs.BeanChanges
  • jadex.planlib.Test

  • agent BeanChanges
    contains jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test bean property changes.

    Propagate Changes Agent. This agent tests if bean changes are propagated to belief changes. (todo: test parameter changes) The agent will print out the results of the single tests to the console.


    Belief Summary
    belief int invocations
              
    belief TestBean one
              
    beliefsetref reports
              
    beliefset TestBean some
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan bean_modifier()
              
    standard plan invocation_counter()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    one

    belief TestBean one
    Default fact:
    new TestBean("Alois")

    invocations

    belief int invocations
    Default fact:
    0

    some

    beliefset TestBean some
    Default facts:
    new TestBean("Albert")
    new TestBean("Berta")

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

    invocation_counter

    standard plan invocation_counter()
    Plan body:
    new BeliefIncrementPlan("invocations", 1, 0)
    Plan trigger:
    Belief change
    one
    Beliefset change
    some

    bean_modifier

    standard plan bean_modifier()
    Plan body:
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  8
    Initial Plans:
    bean_modifier

    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.