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.
 
メソッドの概要
 
クラス commlib.task.TaskMessage から継承されたメソッド
getAssignedAgentID, getMessageOwnerID
 
クラス commlib.message.RCRSCSMessage から継承されたメソッド
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData
 
クラス 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 - step num
ownerID - 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 -