クラス rcsc::PlayerTypeAnalyzer

analyzer for opponent team players' player type [詳細]

#include <player_type_analyzer.h>

すべてのメンバ一覧

Public メソッド

 PlayerTypeAnalyzer (const GlobalWorldModel &world)
 default constructor
const GameTimeupdatedTime () const
 get the last updated time
void update ()
 analyze world model
void reset (const int unum)
 reset all data for the specified player.
int heteroID (const int unum) const
 get opponent player's player type Id

構成

struct  Data


説明

analyzer for opponent team players' player type


コンストラクタとデストラクタ

rcsc::PlayerTypeAnalyzer::PlayerTypeAnalyzer ( const GlobalWorldModel world  )  [explicit]

default constructor

引数:
const reference to the world model instance


関数

const GameTime& rcsc::PlayerTypeAnalyzer::updatedTime (  )  const [inline]

get the last updated time

戻り値:
const reference to the variable

void rcsc::PlayerTypeAnalyzer::update (  ) 

analyze world model

引数:
world const reference to the world model instance

void rcsc::PlayerTypeAnalyzer::reset ( const int  unum  ) 

reset all data for the specified player.

引数:
unum uniform number
This method is called when coach receives the change_player_type message

int rcsc::PlayerTypeAnalyzer::heteroID ( const int  unum  )  const [inline]

get opponent player's player type Id

引数:
unum target teammate uniform number
戻り値:
estimated player type Id. if unum is illegal, Unknown Id is returned.


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:25 2008に生成されました。  doxygen 1.5.0