commlib.task.at
クラス RescueAreaTaskMessage

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

public class RescueAreaTaskMessage
extends AmbulanceTeamTaskMessage

The RescueAreaTaskMessage show the message that command to rescue.
This class inform some areas (set of area) and order to search and rescue victim in this area.

作成者:
takefumi

コンストラクタの概要
RescueAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID atID, rescuecore2.worldmodel.EntityID... areas)
          Constructor Create the message to order to rescue to AT.
RescueAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID atID, java.util.List<rescuecore2.worldmodel.EntityID> areas)
          Constructor Create the message to order rescue to AT.
RescueAreaTaskMessage(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 the list of areas that are target of the search.
 
クラス commlib.task.at.AmbulanceTeamTaskMessage から継承されたメソッド
getAssignedAgentID
 
クラス commlib.task.TaskMessage から継承されたメソッド
getMessageOwnerID
 
クラス commlib.message.RCRSCSMessage から継承されたメソッド
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RescueAreaTaskMessage

public RescueAreaTaskMessage(int time,
                             rescuecore2.worldmodel.EntityID ownerID,
                             rescuecore2.worldmodel.EntityID atID,
                             rescuecore2.worldmodel.EntityID... areas)

Constructor

Create the message to order to rescue to AT.
Included data are follow.

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

RescueAreaTaskMessage

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

Constructor

Create the message to order rescue to AT.
Included data are follow.

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

RescueAreaTaskMessage

public RescueAreaTaskMessage(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 the list of areas that are target of the search.

戻り値:
Return list of areas(List<EntityID>)