Jadex 0.96

jadex.testcases.misc
Agent AMSTest

jadex.testcases.misc.AMSTest
  • jadex.planlib.AMS
  • jadex.planlib.Test

  • agent AMSTest
    contains jadex.planlib.Test, jadex.planlib.AMS


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Test the AMS capability.

    AMS Test Agent. Tests the AMS plans.


    Belief Summary
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoalref ams_create_agent
              
    achievegoalref ams_destroy_agent
              
    achievegoalref ams_search_agents
              
    achievegoalref ams_shutdown_platform
              
     
    Plan Summary
    standard plan test()
              
     
    Event Summary
    messageevent inform_done(Class content-class, String ontology, String performative, String protocol)
              
    messageevent request_create_agent(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
              
    messageevent request_destroy_agent(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
              
    messageevent request_search_agents(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
              
    messageevent request_shutdown_platform(Class content-class, String language, String ontology, String performative, String protocol, String reply-with)
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

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

    ams_create_agent

    achievegoalref ams_create_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    parameterref arguments
    parameterref configuration
    parameterref name
    parameterref start
    parameterref type
    Referenced from:
    ams_create_agent in capability jadex.planlib.AMS

    ams_destroy_agent

    achievegoalref ams_destroy_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    Referenced from:
    ams_destroy_agent in capability jadex.planlib.AMS

    ams_search_agents

    achievegoalref ams_search_agents
    Parameters:
    parameterref ams
    parameterref constraints
    parameterref description
    parameterset result
    Referenced from:
    ams_search_agents in capability jadex.planlib.AMS

    ams_shutdown_platform

    achievegoalref ams_shutdown_platform
    Parameters:
    parameterref ams
    Referenced from:
    ams_shutdown_platform in capability jadex.planlib.AMS
    Plan Detail

    test

    standard plan test()
    Plan body:
    Event Detail

    request_create_agent

    messageevent request_create_agent(Class content-class, 
                                      String language, 
                                      String ontology, 
                                      String performative, 
                                      String protocol, 
                                      String reply-with)
    Parameters:
    fixed parameter content-class Default value:  AMSCreateAgent.class
    fixed parameter language Default value:  SFipa.NUGGETS_XML
    fixed parameter ontology Default value:  FIPAOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    fixed parameter protocol Default value:  SFipa.PROTOCOL_REQUEST
    in parameter reply-with Default value:  SFipa.createUniqueId($scope.getAgentName())
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    post to all: false

    request_destroy_agent

    messageevent request_destroy_agent(Class content-class, 
                                       String language, 
                                       String ontology, 
                                       String performative, 
                                       String protocol, 
                                       String reply-with)
    Parameters:
    fixed parameter content-class Default value:  AMSDestroyAgent.class
    fixed parameter language Default value:  SFipa.NUGGETS_XML
    fixed parameter ontology Default value:  FIPAOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    fixed parameter protocol Default value:  SFipa.PROTOCOL_REQUEST
    in parameter reply-with Default value:  SFipa.createUniqueId($scope.getAgentName())
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    post to all: false

    request_search_agents

    messageevent request_search_agents(Class content-class, 
                                       String language, 
                                       String ontology, 
                                       String performative, 
                                       String protocol, 
                                       String reply-with)
    Parameters:
    fixed parameter content-class Default value:  AMSSearchAgents.class
    fixed parameter language Default value:  SFipa.NUGGETS_XML
    fixed parameter ontology Default value:  FIPAOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    fixed parameter protocol Default value:  SFipa.PROTOCOL_REQUEST
    in parameter reply-with Default value:  SFipa.createUniqueId($scope.getAgentName())
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    post to all: false

    request_shutdown_platform

    messageevent request_shutdown_platform(Class content-class, 
                                           String language, 
                                           String ontology, 
                                           String performative, 
                                           String protocol, 
                                           String reply-with)
    Parameters:
    fixed parameter content-class Default value:  AMSShutdownPlatform.class
    fixed parameter language Default value:  SFipa.NUGGETS_XML
    fixed parameter ontology Default value:  FIPAOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    fixed parameter protocol Default value:  SFipa.PROTOCOL_REQUEST
    in parameter reply-with Default value:  SFipa.createUniqueId($scope.getAgentName())
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    post to all: false

    inform_done

    messageevent inform_done(Class content-class, 
                             String ontology, 
                             String performative, 
                             String protocol)
    Parameters:
    fixed parameter content-class Default value:  Done.class
    fixed parameter ontology Default value:  FIPAOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.INFORM
    fixed parameter protocol Default value:  SFipa.PROTOCOL_REQUEST
    Event flags:
    direction: receive
    message type: fipa
    random selection: false
    post to all: false
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  10
    Initial Plans:
    test

    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.