Jadex 0.96

jadex.examples.marsworld.manager
Agent Manager

jadex.examples.marsworld.manager.Manager
  • jadex.planlib.AMS
  • jadex.planlib.StartAgents
  • jadex.planlib.AMS

  • agent Manager
    contains jadex.planlib.StartAgents, jadex.planlib.AMS

    The manager agent.

    Can be used to launch the mars world example.
    It consists of three different kinds of agents:
    - Sentry agents are reponsible for examining orebodies
    A ore capacity is shown on the map when an orebody was examined.
    - Production agents produce ore at available orebodies.
    - Carry agents are able to carry ore to the base.

    Objective is to carry as much ore as possible to the
    homebase in a predefined misssion time.


    Belief Summary
    belief Environment environment
               The environment as singleton object.
    belief MarsworldGui gui
              
    beliefset AgentIdentifier startedagents
              
     
    Goal Summary
    achievegoalref ams_destroy_agent
              
    achievegoalref start_agents
               Start agents goal reference.
     
    Plan Summary
    standard plan starter(StartAgentInfo [set] agentinfos)
              
     
    Configuration Summary
    configuration  1 Sentry / 1 Producer / 1 Carrier
              
    default configuration  1 Sentry / 2 Producers / 3 Carriers
              
    configuration  1 Sentry / 3 Producers / 6 Carriers
              
     

    Belief Detail

    environment

    belief Environment environment
    The environment as singleton object.

    Default fact:
    Environment.createInstance()

    gui

    belief MarsworldGui gui
    Default fact:
    new MarsworldGui($agent.getExternalAccess())

    startedagents

    beliefset AgentIdentifier startedagents
    Goal Detail

    start_agents

    achievegoalref start_agents
    Start agents goal reference.

    Parameters:
    parameterset agentidentifiers
    parameterset agentinfos
    Referenced from:
    start_agents in capability jadex.planlib.StartAgents

    ams_destroy_agent

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

    starter

    standard plan starter(StartAgentInfo [set] agentinfos)
    Parameters:
    in parameterset agentinfos
    Plan body:
    Configuration Detail

    1 Sentry / 2 Producers / 3 Carriers

    default configuration 1 Sentry / 2 Producers / 3 Carriers
    Initial Plans:
    starter (agentinfos=[new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.sentry.Sentry", "Sentry_%n", 0, null) ],)

    1 Sentry / 1 Producer / 1 Carrier

    configuration 1 Sentry / 1 Producer / 1 Carrier
    Initial Plans:
    starter (agentinfos=[new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.sentry.Sentry", "Sentry_%n", 0, null) ],)

    1 Sentry / 3 Producers / 6 Carriers

    configuration 1 Sentry / 3 Producers / 6 Carriers
    Initial Plans:
    starter (agentinfos=[new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)
    new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.carrier.Carry", "Carry_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.producer.Production", "Production_%n", 0, null)new StartAgentInfo("jadex.examples.marsworld.sentry.Sentry", "Sentry_%n", 0, null) ],)

    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.