jadex.examples.garbagecollector
Agent Manager
jadex.examples.garbagecollector.Manager
jadex.adapter.standalone.planlib.AMS_standalone
jadex.planlib.StartAgents
jadex.adapter.standalone.planlib.AMS_standalone
- agent Manager- contains jadex.planlib.StartAgents, jadex.adapter.standalone.planlib.AMS_standalone
 
The manager agent.
 It can be started to launch a garbage collector scenario.
 This example is inspired by the "robot" example
 of the Jason BDI agent engine.
 
 
start_agents
achievegoalref start_agents
- 
- Parameters:
- parameterset agentidentifiers
- parameterset agentinfos
- Deliberation:
- inhibits ams_destroy_agent-  Wait for all agents being started before destroying the manager.
- Referenced from:
- start_agentsin capability- jadex.planlib.StartAgents
 
ams_destroy_agent
achievegoalref ams_destroy_agent
-  Goal used to kill manager after startup. 
 
- 
- Parameters:
- parameterref agentidentifier
- parameterref ams
- Referenced from:
- ams_destroy_agentin capability- jadex.adapter.standalone.planlib.AMS_standalone
 
Two Burners / Two Collectors
default initial state Two Burners / Two Collectors
- 
- Initial Goals:
- start_agents (agentinfos=[new StartAgentInfo("jadex.examples.garbagecollector.Environment", "Environment_%n", 2000, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageBurner", "Burner_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageBurner", "Burner_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null)],)
- ams_destroy_agent (agentidentifier=$agent.getAgentIdentifier())
 
One Burner / One Collector
initial state One Burner / One Collector
- 
- Initial Goals:
- start_agents (agentinfos=[new StartAgentInfo("jadex.examples.garbagecollector.Environment", "Environment_%n", 2000, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageBurner", "Burner_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null)],)
- ams_destroy_agent (agentidentifier=$agent.getAgentIdentifier())
 
Two Burners / Six Collectors
initial state Two Burners / Six Collectors
- 
- Initial Goals:
- start_agents (agentinfos=[new StartAgentInfo("jadex.examples.garbagecollector.Environment", "Environment_%n", 2000, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageBurner", "Burner_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageBurner", "Burner_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null),new StartAgentInfo("jadex.examples.garbagecollector.GarbageCollector", "Collector_%n", 0, null)],)
- ams_destroy_agent (agentidentifier=$agent.getAgentIdentifier())
 
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.