32#ifndef RCSC_COACH_PLAYER_TYPE_ANALYZER_H
33#define RCSC_COACH_PLAYER_TYPE_ANALYZER_H
66 std::vector< int > invalid_flags_;
71 void setDefaultType();
72 void setUnknownType();
81 Data M_teammate_data[11];
82 Data M_opponent_data[11];
84 std::vector< int > M_opponent_type_used_count;
106 return M_updated_time;
130 if ( unum < 1 || 11 < unum )
132 std::cerr <<
"PlayerTypeAnalyzer::playerTypeId() Illegal unum "
133 << unum << std::endl;
136 return M_opponent_data[ unum - 1 ].type_;
144 void updateLastData();
169 void checkCollisions();
179 void checkPlayerDecay();
184 void checkPlayerSpeedMax();
189 void checkTurnMoment();
ball information for coath/trainer
Definition: coach_ball_object.h:44
world world for coach
Definition: coach_world_model.h:58
game time object
Definition: game_time.h:43
analyzer for opponent team players' player type
Definition: player_type_analyzer.h:51
int playerTypeId(const int unum) const
get opponent player's player type Id
Definition: player_type_analyzer.h:128
const GameTime & updatedTime() const
get the last updated time
Definition: player_type_analyzer.h:104
void update()
analyze world model.
PlayerTypeAnalyzer(const CoachWorldModel &world)
default constructor
void reset(const int unum)
reset all data for the specified player.
2D point vector class
Definition: vector_2d.h:46
ball object class for coach/trainer Header file.
game time depending on RCSSServer2D Header File
the type definition set for the RCSSServer2D
PlayMode
playmode types defined in rcssserver/src/types.h
Definition: types.h:130
constexpr int Hetero_Unknown
Id of the unknown player type.
Definition: types.h:122
2d vector class Header File.