クラス rcsc::KickTable

This class stores and updates latest kick subtargets. [詳細]

#include <kick_table.h>

すべてのメンバ一覧

Public 型

enum  { MAX_DEPTH = 2, ANGLE_DIVS_LOW = 8, ANGLE_DIVS_HIGH = 12 }

Public メソッド

 KickTable ()
 constructor
void update (const WorldModel &world)
 generate kick point vector
const KickPointPtrCont * getKickPoints (const int depth) const


説明

This class stores and updates latest kick subtargets.

When player updates his world model, he also update his kick status. First, all possible subtargets are created. Second, all subtargets are sorted by opponet players' minimal reach cycle. This value is used as the criteria of kick action chain.


関数

void rcsc::KickTable::update ( const WorldModel world  ) 

generate kick point vector

引数:
self_pos self global coordinates as the base point
self_body self body angle to calculate the kick rate

sort kick points by interfere cycles

const KickPointPtrCont* rcsc::KickTable::getKickPoints ( const int  depth  )  const [inline]

accessor to the data container. NOTE: no throw for excepton. check the range before this method called.

引数:
depth kick state depth. this must be within [0, MAX_DEPT-1]


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