Jadex 0.96

jadex.testcases.plans
Agent PlanContext

jadex.testcases.plans.PlanContext
  • jadex.planlib.Test

  • agent PlanContext
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Tests a plan with a context condition.

    The context condition has to be valid during plan execution. Otherwise the plan is aborted. Has two initial plans. The activity plan is executed (the context is ok). It waits for some time. The remover plan waits for a shorter time and modifies the context, so that the first plans context condition is no longer satisfied (abort on failure).


    Belief Summary
    belief boolean context
              
    beliefsetref TestReport reports
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Plan Summary
    standard plan activity()
              
    standard plan remover()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    context

    belief boolean context
    Default fact:
    true

    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

    activity

    standard plan activity()
    Plan body:
    new TestContextPlan()

    remover

    standard plan remover()
    Plan body:
    new ResultPlan(20, true, new Boolean(false), "context")
    Configuration Detail

    default

    default configuration default
    Initial Plans:
    activity
    remover

    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.