public class LoadAgentMap
extends java.lang.Object
implements java.io.Serializable
LoadInformation, which is part of the
LoadService.LoadInformation,
LoadService,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
class |
LoadAgentMap.AID_Container
The Class AID_Container is used to extend the information of an agent, behind
the point of just knowing its AID.
|
class |
LoadAgentMap.AID_Container_List
The Class AID_Container_List is an extended
Hashtable. |
| Modifier and Type | Field and Description |
|---|---|
java.lang.Integer |
noAgentsAtPlatform
The no agents at platform.
|
| Constructor and Description |
|---|
LoadAgentMap()
Constructor of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doCountings()
This method counts all of the agents at the platform and
the agents, which are located at one specific container.
|
java.util.Hashtable<java.lang.String,LoadAgentMap.AID_Container_List> |
getAgentsAtContainer()
Gets the agents at container.
|
java.util.Hashtable<java.lang.String,LoadAgentMap.AID_Container> |
getAgentsAtPlatform()
Provides the agents at the whole platform.
|
LoadAgentMap.AID_Container |
getAID_Container(jade.core.AID agentsAID)
Search's for the stored agent information.
|
java.util.Hashtable<java.lang.String,java.lang.Integer> |
getNoAgentsAtContainerHash()
Gets the no agents at container hash.
|
void |
put(java.lang.String containerName,
jade.core.AID aid,
boolean hasServiceSensor)
Which agents are available at the platform.
|
public java.lang.Integer noAgentsAtPlatform
public void doCountings()
public void put(java.lang.String containerName,
jade.core.AID aid,
boolean hasServiceSensor)
containerName - the container nameaid - the AID of an agenthasServiceSensor - the has service sensorpublic java.util.Hashtable<java.lang.String,LoadAgentMap.AID_Container> getAgentsAtPlatform()
public java.util.Hashtable<java.lang.String,LoadAgentMap.AID_Container_List> getAgentsAtContainer()
public java.util.Hashtable<java.lang.String,java.lang.Integer> getNoAgentsAtContainerHash()
public LoadAgentMap.AID_Container getAID_Container(jade.core.AID agentsAID)
agentsAID - the agents AID