commlib.task
クラス DecideLeaderTaskMessage
java.lang.Object
commlib.message.RCRSCSMessage
commlib.task.TaskMessage
commlib.task.DecideLeaderTaskMessage
- すべての実装されたインタフェース:
- IMessage, ITaskMessage
public class DecideLeaderTaskMessage
- extends TaskMessage
The DecideLeaderTaskMessage represent the message that decide a leader(such as Center).
Please use this message when in the case of Centerless.
- 作成者:
- shogo horibe
コンストラクタの概要 |
DecideLeaderTaskMessage(int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID targetAgentID)
Constructor Create the message to decide leader to Platoon Agents. |
DecideLeaderTaskMessage(java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
The method that the library use to convert the message. |
クラス java.lang.Object から継承されたメソッド |
getClass, notify, notifyAll, toString, wait, wait, wait |
DecideLeaderTaskMessage
public DecideLeaderTaskMessage(int time,
rescuecore2.worldmodel.EntityID ownerID,
rescuecore2.worldmodel.EntityID targetAgentID)
Constructor
Create the message to decide leader to Platoon Agents.
Included data are follow.
- time:the time that the message is created.(int)
- ownerID:EntityID of the agent that sent this message.
- targetAgentID:EntityID of agent that is ordered to do.
- パラメータ:
time
- step numownerID
- EntityID of the agent that sent this message.targetAgentID
- EntityID of agent.
DecideLeaderTaskMessage
public DecideLeaderTaskMessage(java.util.List<java.lang.Integer> bitList,
int offset,
java.util.EnumMap<DataType,java.lang.Integer> bitSizeMap)
- The method that the library use to convert the message.
- パラメータ:
bitList
- offset
- bitSizeMap
-