#include <intercept_table.h>
Public メソッド | |
InterceptTable (const WorldModel &world) | |
init member variables, reserve cache vector memory | |
~InterceptTable () | |
destructor. nothing to do | |
void | update () |
recreate all interception info | |
void | hearTeammate (const int unum, const int cycle) |
set teammate intercept info mainly by heard info | |
void | hearOpponent (const int unum, const int cycle) |
set opponent intercept info mainly by heard info | |
int | selfReachCycle () const |
get minimal ball gettable cycle for self without stamina exaust | |
int | selfExhaustReachCycle () const |
get minimal ball gettable cycle for self with stamina exaust | |
int | teammateReachCycle () const |
get minimal ball gettable cycle for teammate | |
int | opponentReachCycle () const |
get minimal ball gettable cycle for opponent | |
const PlayerObject * | fastestTeammate () const |
get fastest ball gettable teammate object | |
const PlayerObject * | fastestOpponent () const |
get fastest ball gettable oppnent object | |
const std::vector< InterceptInfo > & | selfCache () const |
get self interception cache container | |
Vector2D | selfInterceptPoint () const |
get ball gettable point for self | |
bool | isSelfFastestPlayer () const |
check if self is the fastest ball bettable player | |
bool | isOurTeamBallPossessor () const |
check if our team has the ball. |
void rcsc::InterceptTable::hearTeammate | ( | const int | unum, | |
const int | cycle | |||
) |
set teammate intercept info mainly by heard info
unum | uniform number | |
cycle | interception cycle |
void rcsc::InterceptTable::hearOpponent | ( | const int | unum, | |
const int | cycle | |||
) |
set opponent intercept info mainly by heard info
unum | uniform number | |
cycle | interception cycle |
int rcsc::InterceptTable::selfReachCycle | ( | ) | const [inline] |
get minimal ball gettable cycle for self without stamina exaust
int rcsc::InterceptTable::selfExhaustReachCycle | ( | ) | const [inline] |
get minimal ball gettable cycle for self with stamina exaust
int rcsc::InterceptTable::teammateReachCycle | ( | ) | const [inline] |
get minimal ball gettable cycle for teammate
int rcsc::InterceptTable::opponentReachCycle | ( | ) | const [inline] |
get minimal ball gettable cycle for opponent
const PlayerObject* rcsc::InterceptTable::fastestTeammate | ( | ) | const [inline] |
get fastest ball gettable teammate object
const PlayerObject* rcsc::InterceptTable::fastestOpponent | ( | ) | const [inline] |
get fastest ball gettable oppnent object
const std::vector< InterceptInfo >& rcsc::InterceptTable::selfCache | ( | ) | const [inline] |
get self interception cache container
Vector2D rcsc::InterceptTable::selfInterceptPoint | ( | ) | const |
get ball gettable point for self
bool rcsc::InterceptTable::isSelfFastestPlayer | ( | ) | const |
check if self is the fastest ball bettable player
bool rcsc::InterceptTable::isOurTeamBallPossessor | ( | ) | const |
check if our team has the ball.