Jadex 0.941

jadex.examples.hunterprey.environment
Agent Environment

jadex.examples.hunterprey.environment.Environment
  • jadex.adapter.standalone.planlib.AMS_standalone
  • jadex.adapter.standalone.planlib.DF_standalone

  • agent Environment
    contains jadex.adapter.standalone.planlib.DF_standalone, jadex.adapter.standalone.planlib.AMS_standalone

    Environment Agent for managing the environment object.


    Belief Summary
    belief Environment environment
              
    beliefset Observer observers
              
    belief long roundtime
              
     
    Goal Summary
    achievegoalref ams_destroy_agent
              
    maintaingoalref df_keep_registered
              
     
    Plan Summary
    standard plan dispatchvision()
               Dispatch the actual vision to a requester.
    standard plan dispatchworldsize()
               Dispatch the world size to a requester.
    standard plan eatrequest()
               Inform the requester if a drop action succeeds.
    standard plan gui()
               Create the environment gui.
    standard plan moverequest()
               Inform the requester if a pickup action succeeds.
    standard plan simticker()
               Simulation plan.
     
    Event Summary
    messageevent failure(String language, String performative)
              
    messageevent inform_done(Class content-class, String language, String ontology, String performative)
              
    messageevent inform_vision(CurrentVision content, String language, String ontology, String performative)
              
    messageevent request_eat(Class content-class, String language, String ontology, String performative)
              
    messageevent request_move(Class content-class, String language, String ontology, String performative)
              
    messageevent request_vision(Class content-class, String language, String ontology, String performative)
              
    messageevent request_worldsize(Class content-class, String language, String ontology, String performative)
              
     
    Initial State Summary
    default initial state  default
              
     

    Belief Detail

    environment

    belief Environment environment
    Default fact:
    Environment.getInstance()

    roundtime

    belief long roundtime
    Default fact:
    1000

    observers

    beliefset Observer observers
    Goal Detail

    ams_destroy_agent

    achievegoalref ams_destroy_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    Referenced from:
    ams_destroy_agent in capability jadex.adapter.standalone.planlib.AMS_standalone

    df_keep_registered

    maintaingoalref df_keep_registered
    Parameters:
    parameterref address
    parameterref buffertime
    parameterref current_time
    parameterref description
    parameterref df
    parameterref leasetime
    parameterref result
    Referenced from:
    df_keep_registered in capability jadex.adapter.standalone.planlib.DF_standalone
    Plan Detail

    dispatchvision

    standard plan dispatchvision()
    Dispatch the actual vision to a requester.

    Plan body:
    new DispatchVisionPlan()
    Message event trigger:
    request_vision

    dispatchworldsize

    standard plan dispatchworldsize()
    Dispatch the world size to a requester.

    Plan body:
    new DispatchWorldSizePlan()
    Message event trigger:
    request_worldsize

    moverequest

    standard plan moverequest()
    Inform the requester if a pickup action succeeds.

    Plan body:
    new MovePlan()
    Message event trigger:
    request_move

    eatrequest

    standard plan eatrequest()
    Inform the requester if a drop action succeeds.

    Plan body:
    new EatPlan()
    Message event trigger:
    request_eat

    simticker

    standard plan simticker()
    Simulation plan.

    Plan body:
    new SimulationTickerPlan()

    gui

    standard plan gui()
    Create the environment gui.

    Plan body:
    new GUIPlan()
    Event Detail

    request_vision

    messageevent request_vision(Class content-class, 
                                String language, 
                                String ontology, 
                                String performative)
    Parameters:
    fixed parameter content-class Default value:  RequestVision.class
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    Event flags:
    direction: receive
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    request_worldsize

    messageevent request_worldsize(Class content-class, 
                                   String language, 
                                   String ontology, 
                                   String performative)
    Parameters:
    fixed parameter content-class Default value:  RequestWorldSize.class
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    Event flags:
    direction: receive
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    request_move

    messageevent request_move(Class content-class, 
                              String language, 
                              String ontology, 
                              String performative)
    Parameters:
    fixed parameter content-class Default value:  RequestMove.class
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    Event flags:
    direction: receive
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    request_eat

    messageevent request_eat(Class content-class, 
                             String language, 
                             String ontology, 
                             String performative)
    Parameters:
    fixed parameter content-class Default value:  RequestEat.class
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.REQUEST
    Event flags:
    direction: receive
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    inform_done

    messageevent inform_done(Class content-class, 
                             String language, 
                             String ontology, 
                             String performative)
    Parameters:
    fixed parameter content-class Default value:  Done.class
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.INFORM
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    failure

    messageevent failure(String language, 
                         String performative)
    Parameters:
    in parameter language
    fixed parameter performative Default value:  SFipa.FAILURE
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false

    inform_vision

    messageevent inform_vision(CurrentVision content, 
                               String language, 
                               String ontology, 
                               String performative)
    Parameters:
    in parameter content
    fixed parameter language Default value:  SFipa.JAVA_XML
    fixed parameter ontology Default value:  HunterPreyOntology.ONTOLOGY_NAME
    fixed parameter performative Default value:  SFipa.INFORM
    Event flags:
    direction: send
    message type: fipa
    random selection: false
    meta-level reasoning: true
    post to all: false
    Initial State Detail

    default

    default initial state default
    Initial Goals:
    df_keep_registered (description=$agent.getPropertybase().getProperty("fipa.agentdescription.environment"), leasetime=new Long(20000000))
    Initial Plans:
    simticker
    gui

    Jadex 0.941

    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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.