Jadex 0.96

jadex.testcases.beliefs
Agent WaitForFactAdded

jadex.testcases.beliefs.WaitForFactAdded
  • jadex.planlib.Test

  • agent WaitForFactAdded
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Test detection of added facts.

    Testing the waitqueue using addBeliefSet() to wait for fact added events. This testcase currently fails as the condition_triggered events cannot be associated with the waitFor() filter. This is because the filter checks if the event originated from the same source condition (but here we have 2 conditions, one in the waitqueue and one in the waitfor).


    Belief Summary
    beliefset String beliefSetToAddFacts
              
    beliefsetref reports
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan factAdder(String instance)
              
    standard plan tester()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    beliefSetToAddFacts

    beliefset String beliefSetToAddFacts

    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:

    factAdder

    standard plan factAdder(String instance)
    Parameters:
    in parameter instance
    Plan body:
    Configuration Detail

    default

    default configuration default
    Initial Plans:
    tester
    factAdder (instance="A"
    )

    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.