Jadex 0.96

jadex.testcases.beliefs
Agent PropagateChanges

jadex.testcases.beliefs.PropagateChanges
  • jadex.planlib.Test

  • agent PropagateChanges
    contains jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    This agent tests change propagation of beliefs (and goal parameters)

    Use the BDI-viewer to perform the test. When the belief "my_value" is changed to "magic" the dependent belief "react_on value" should have the value "magic" as well. When from the beliefset "my_values" one value is deleted the dependent belief "react_on_values" should have the value "magic".


    Belief Summary
    belief String my_value
              
    beliefset int my_values
              
    belief String react_on_value
              
    belief String react_on_values
              
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan tester()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    my_value

    belief String my_value
    Default fact:
    "blurps"

    react_on_value

    belief String react_on_value
    Default fact: (dynamic)
    $beliefbase.my_value.equals("magic")? "magic": "n/a"

    react_on_values

    belief String react_on_values
    Default fact: (dynamic)
    $beliefbase.my_values.length==2? "magic": "n/a"

    my_values

    beliefset int my_values
    Default facts:
    0
    1
    2

    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

    tester

    standard plan tester()
    Plan body:
    Configuration Detail

    default

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