Jadex 0.96

jadex.testcases.plans
Agent PingBinding

jadex.testcases.plans.PingBinding
  • jadex.planlib.Test

  • agent PingBinding
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Tests binding values for a plan.

    Reacts on "ping" query-ref and sends back inform "alive" because it is the first suitable value from the binding values set.


    Belief Summary
    belief int a
              
    belief int b
              
    belief int c
              
    beliefsetref TestReport reports
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoal print()
              
     
    Plan Summary
    standard plan printer(String bel)
               new String[]{"alive", "alaaf"} new AnswerPingPlan("ping", $plan.reply)
    standard plan tester()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    a

    belief int a
    Default fact:
    0

    b

    belief int b
    Default fact:
    0

    c

    belief int c
    Default fact:
    0

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

    print

    achievegoal print()
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    post to all: false
    Plan Detail

    printer

    standard plan printer(String bel)
    new String[]{"alive", "alaaf"} new AnswerPingPlan("ping", $plan.reply)

    Parameters:
    in parameter bel Binding options:  new String[]{"a","b","c"}
    Plan body:
    new ResultPlan(-1, false, new Integer(1), $plan.bel)
    Plan trigger:
    Goals:
    print

    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.