commlib.task
クラス ScoutAreaTaskMessage

java.lang.Object
  上位を拡張 commlib.message.RCRSCSMessage
      上位を拡張 commlib.task.TaskMessage
          上位を拡張 commlib.task.ScoutAreaTaskMessage
すべての実装されたインタフェース:
IMessage, ITaskMessage

public class ScoutAreaTaskMessage
extends TaskMessage

The ScoutAreaTaskMessage represent the message that command to scout.
This class inform some areas (set of area) to Platoon Agents and order to search and scout in this area.

作成者:
shogo horibe

コンストラクタの概要
ScoutAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID targetAgentID, rescuecore2.worldmodel.EntityID... areas)
          Constructor Create the message to order to scout to Platoon Agents.
ScoutAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID targetAgentID, java.util.List<rescuecore2.worldmodel.EntityID> areas)
          Constructor Create the message to order to scout to Platoon Agents.
ScoutAreaTaskMessage(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.util.List<rescuecore2.worldmodel.EntityID> getTargetAreaList()
          Return list of EntityID of areas that are target of scout
 
クラス 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
 

コンストラクタの詳細

ScoutAreaTaskMessage

public ScoutAreaTaskMessage(int time,
                            rescuecore2.worldmodel.EntityID ownerID,
                            rescuecore2.worldmodel.EntityID targetAgentID,
                            rescuecore2.worldmodel.EntityID... areas)

Constructor

Create the message to order to scout to Platoon Agents.
Included data are follow.

パラメータ:
time - step num
ownerID - EntityID of the agent that sent this message.
targetAgentID - EntityID of agent.
areas - EntityIDs of area

ScoutAreaTaskMessage

public ScoutAreaTaskMessage(int time,
                            rescuecore2.worldmodel.EntityID ownerID,
                            rescuecore2.worldmodel.EntityID targetAgentID,
                            java.util.List<rescuecore2.worldmodel.EntityID> areas)

Constructor

Create the message to order to scout to Platoon Agents.
Included data are follow.

パラメータ:
time - step num
ownerID - EntityID of the agent that sent this message
targetAgentID - EntityID of agent.
areas - List of EntityID

ScoutAreaTaskMessage

public ScoutAreaTaskMessage(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 -
メソッドの詳細

getTargetAreaList

public java.util.List<rescuecore2.worldmodel.EntityID> getTargetAreaList()
Return list of EntityID of areas that are target of scout

戻り値:
List of fire fight targets(List<EntityID>)