interception info holder for all players
More...
#include <intercept_table.h>
interception info holder for all players
◆ firstOpponent()
| const PlayerObject * rcsc::InterceptTable::firstOpponent |
( |
| ) |
const |
|
inline |
get the oppnent object fastest to the ball
- Returns
- const pointer to the PlayerObject. if not exist such a player, return NULL
◆ firstTeammate()
| const PlayerObject * rcsc::InterceptTable::firstTeammate |
( |
| ) |
const |
|
inline |
get the teammate object fastest to the ball
- Returns
- const pointer to the PlayerObject. if not exist such a player, return NULL
◆ hearOpponent()
| void rcsc::InterceptTable::hearOpponent |
( |
const WorldModel & |
wm, |
|
|
const int |
unum, |
|
|
const int |
step |
|
) |
| |
update opponent intercept information by heard information
- Parameters
-
| wm | const reference to the world model |
| unum | uniform number |
| step | interception step |
◆ hearTeammate()
| void rcsc::InterceptTable::hearTeammate |
( |
const WorldModel & |
wm, |
|
|
const int |
unum, |
|
|
const int |
step |
|
) |
| |
update teammate intercept information by heard information
- Parameters
-
| wm | const reference to the world model |
| unum | uniform number |
| step | interception step |
◆ opponentStep()
| int rcsc::InterceptTable::opponentStep |
( |
| ) |
const |
|
inline |
get minimal ball gettable step for opponent
- Returns
- step value to get the ball
◆ ourGoalieStep()
| int rcsc::InterceptTable::ourGoalieStep |
( |
| ) |
const |
|
inline |
get the ball access step for the teammate goalie
- Returns
- step value to get the ball
◆ playerMap()
get all players' intercept step container.
- Returns
- map container. key: pointer, value: step value
◆ secondOpponent()
| const PlayerObject * rcsc::InterceptTable::secondOpponent |
( |
| ) |
const |
|
inline |
get the oppnent object second fastest to the ball
- Returns
- const pointer to the PlayerObject. if not exist such a player, return NULL
◆ secondOpponentStep()
| int rcsc::InterceptTable::secondOpponentStep |
( |
| ) |
const |
|
inline |
get the ball access step for the second opponent
- Returns
- step value to get the ball
◆ secondTeammate()
| const PlayerObject * rcsc::InterceptTable::secondTeammate |
( |
| ) |
const |
|
inline |
get the teammate object second fastest to the ball
- Returns
- const pointer to the PlayerObject. if not exist such a player, return NULL
◆ secondTeammateStep()
| int rcsc::InterceptTable::secondTeammateStep |
( |
| ) |
const |
|
inline |
get the ball access step for the second teammate
- Returns
- step value to get the ball
◆ selfExhaustStep()
| int rcsc::InterceptTable::selfExhaustStep |
( |
| ) |
const |
|
inline |
get minimal ball gettable step for self with stamina exhaust
- Returns
- step value to get the ball
◆ selfResults()
| const std::vector< Intercept > & rcsc::InterceptTable::selfResults |
( |
| ) |
const |
|
inline |
get self interception cache container
- Returns
- const reference to the interception info container
◆ selfStep()
| int rcsc::InterceptTable::selfStep |
( |
| ) |
const |
|
inline |
get minimal ball gettable step for self without stamina exhaust
- Returns
- step value to get the ball
◆ teammateStep()
| int rcsc::InterceptTable::teammateStep |
( |
| ) |
const |
|
inline |
get minimal ball gettable step for teammate
- Returns
- step value to get the ball
◆ update()
| void rcsc::InterceptTable::update |
( |
const WorldModel & |
wm | ) |
|
update table information
- Parameters
-
| wm | const reference to the world model |
The documentation for this class was generated from the following file: