commlib.task.fb
クラス ExtinguishAreaTaskMessage

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

public class ExtinguishAreaTaskMessage
extends FireBrigadeTaskMessage

The ExtinguishAreaTaskMessage represent the message that command to extinguish.
This class inform some areas (set of area) to FB and order to search and fight fires in this area.

作成者:
takefumi

コンストラクタの概要
ExtinguishAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID fbID, rescuecore2.worldmodel.EntityID... areas)
          Constructor Create the message to order to fight fires to FB.
ExtinguishAreaTaskMessage(int time, rescuecore2.worldmodel.EntityID ownerID, rescuecore2.worldmodel.EntityID fbID, java.util.List<rescuecore2.worldmodel.EntityID> areas)
          Constructor Create the message to order fight fires to FB.
ExtinguishAreaTaskMessage(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 fire fight
 
クラス commlib.task.fb.FireBrigadeTaskMessage から継承されたメソッド
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
 

コンストラクタの詳細

ExtinguishAreaTaskMessage

public ExtinguishAreaTaskMessage(int time,
                                 rescuecore2.worldmodel.EntityID ownerID,
                                 rescuecore2.worldmodel.EntityID fbID,
                                 rescuecore2.worldmodel.EntityID... areas)

Constructor

Create the message to order to fight fires to FB.
Included data are follow.

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

ExtinguishAreaTaskMessage

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

Constructor

Create the message to order fight fires to FB.
Included data are follow.

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

ExtinguishAreaTaskMessage

public ExtinguishAreaTaskMessage(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 fire fight

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