32#ifndef RCSC_PLAYER_INTERCEPT_TABLE_H
33#define RCSC_PLAYER_INTERCEPT_TABLE_H
43class AbstractPlayerObject;
62 int M_self_exhaust_step;
66 int M_second_teammate_step;
68 int M_our_goalie_step;
72 int M_second_opponent_step;
84 std::vector< Intercept > M_self_results;
87 std::map< const AbstractPlayerObject *, int > M_player_map;
208 return M_self_results;
215 const std::map< const AbstractPlayerObject *, int > &
playerMap()
const
236 void predictTeammate(
const WorldModel & wm );
242 void predictOpponent(
const WorldModel & wm );
game time object
Definition: game_time.h:43
interception info holder for all players
Definition: intercept_table.h:53
InterceptTable()
init member variables, reserve cache vector memory
virtual ~InterceptTable()
destructor. nothing to do
Definition: intercept_table.h:103
void hearTeammate(const WorldModel &wm, const int unum, const int step)
update teammate intercept information by heard information
int secondOpponentStep() const
get the ball access step for the second opponent
Definition: intercept_table.h:172
const PlayerObject * secondTeammate() const
get the teammate object second fastest to the ball
Definition: intercept_table.h:186
const PlayerObject * firstOpponent() const
get the oppnent object fastest to the ball
Definition: intercept_table.h:193
int ourGoalieStep() const
get the ball access step for the teammate goalie
Definition: intercept_table.h:160
void hearOpponent(const WorldModel &wm, const int unum, const int step)
update opponent intercept information by heard information
const PlayerObject * secondOpponent() const
get the oppnent object second fastest to the ball
Definition: intercept_table.h:200
int selfExhaustStep() const
get minimal ball gettable step for self with stamina exhaust
Definition: intercept_table.h:142
const std::map< const AbstractPlayerObject *, int > & playerMap() const
get all players' intercept step container.
Definition: intercept_table.h:215
void update(const WorldModel &wm)
update table information
int opponentStep() const
get minimal ball gettable step for opponent
Definition: intercept_table.h:166
const std::vector< Intercept > & selfResults() const
get self interception cache container
Definition: intercept_table.h:206
int secondTeammateStep() const
get the ball access step for the second teammate
Definition: intercept_table.h:154
int selfStep() const
get minimal ball gettable step for self without stamina exhaust
Definition: intercept_table.h:136
int teammateStep() const
get minimal ball gettable step for teammate
Definition: intercept_table.h:148
const PlayerObject * firstTeammate() const
get the teammate object fastest to the ball
Definition: intercept_table.h:179
observed player object class
Definition: player_object.h:54
player's internal field status
Definition: world_model.h:67
game time depending on RCSSServer2D Header File
intercept action type Header File
2d vector class Header File.