Jadex 0.96

jadex.testcases.goals
Agent QueryGoal

jadex.testcases.goals.QueryGoal
  • jadex.planlib.Test

  • agent QueryGoal
    contains jadex.planlib.Test


    Agent arguments: testcenter
    testcenter AgentIdentifier

    Test a query goal.

    The query goal succeeds after all (in)out parameters are written. Note, that the plan parameters are mapped to the goal parameters. When the plan finishes all these mapped values will be written back to the goal causing it to succeed or try again.


    Belief Summary
    beliefsetref reports
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    querygoal testgoal(String a, String b, String c, String d, String [set] outs)
              
     
    Plan Summary
    standard plan myplan(String a, String b, String c, String d, String [set] outs)
              
    standard plan testplan()
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

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

    testgoal

    querygoal testgoal(String a, 
                       String b, 
                       String c, 
                       String d, 
                       String [set] outs)
    Parameters:
    out parameter a
    out parameter b
    out parameter c
    optional in parameter d
    in parameterset outs Default values:   "a"
     "b"
     "c"
    BDI flags:
    retry: true
    retry delay: 1000
    exclude: never
    random selection: false
    post to all: false
    Plan Detail

    myplan

    standard plan myplan(String a, 
                        String b, 
                        String c, 
                        String d, 
                        String [set] outs)
    Parameters:
    in parameter a (goal mappings: testgoal.a)
    in parameter b (goal mappings: testgoal.b)
    in parameter c (goal mappings: testgoal.c)
    in parameter d (goal mappings: testgoal.d)
    in parameterset outs (goal mappings: testgoal.outs)
    Plan body:
    Plan trigger:
    Goals:
    testgoal

    testplan

    standard plan testplan()
    Plan body:
    new GenerateGoalPlan()
    Configuration Detail

    default

    default configuration default
    Initial Plans:
    testplan

    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.