commlib.information
クラス TransferInformation

java.lang.Object
  上位を拡張 commlib.message.RCRSCSMessage
      上位を拡張 commlib.information.WorldInformation
          上位を拡張 commlib.information.TransferInformation
すべての実装されたインタフェース:
IMessage

public class TransferInformation
extends WorldInformation

This class represent the information of pathway of the rescue angets.

作成者:
takefumi

コンストラクタの概要
TransferInformation(int time, rescuecore2.worldmodel.EntityID platoonID, rescuecore2.worldmodel.EntityID... areas)
          Constructor Create the information of the agent's pathway.
TransferInformation(int time, rescuecore2.worldmodel.EntityID platoonID, java.util.List<rescuecore2.worldmodel.EntityID> areas)
          Constructor Create the information of the agent's pathway.
TransferInformation(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.
 
メソッドの概要
 rescuecore2.worldmodel.EntityID getAgentID()
          Return EntityID of the rescue agent.
 rescuecore2.worldmodel.EntityID getEntityID()
           
 java.util.List<rescuecore2.worldmodel.EntityID> getPathway()
          Return the rescue agent's pathway
 
クラス commlib.message.RCRSCSMessage から継承されたメソッド
equals, getData, getMessageBitSize, getMessageType, getSendTime, hashCode, isSendable, setData, setData
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TransferInformation

public TransferInformation(int time,
                           rescuecore2.worldmodel.EntityID platoonID,
                           rescuecore2.worldmodel.EntityID... areas)

Constructor

Create the information of the agent's pathway.
Included data are follow.

パラメータ:
time - step num
platoonID - EntityID of the rescue agent
areas - areas that the agent passed

TransferInformation

public TransferInformation(int time,
                           rescuecore2.worldmodel.EntityID platoonID,
                           java.util.List<rescuecore2.worldmodel.EntityID> areas)

Constructor

Create the information of the agent's pathway.
Included data are follow.

パラメータ:
time - step num
platoonID - EntityID of the rescue agent
areas - List of the agent's pathway(List<EntityID)

TransferInformation

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

getAgentID

public rescuecore2.worldmodel.EntityID getAgentID()
Return EntityID of the rescue agent.

戻り値:
EntityID

getPathway

public java.util.List<rescuecore2.worldmodel.EntityID> getPathway()
Return the rescue agent's pathway

戻り値:
EntityID list of areas

getEntityID

public rescuecore2.worldmodel.EntityID getEntityID()
定義:
クラス WorldInformation 内の getEntityID