Public Methods
- ArenaRealTime ()
- virtual ~ArenaRealTime ()
- void clear ()
- bool timeout_function ()
- void start_tournament (const List<start_tournament_info_t>& robotfilename_list,
const List<start_tournament_info_t>& arenafilename_list,
const int robots_p_game,
const int games_p_sequence,
const int n_o_sequences)
- void end_game ()
- void broadcast (enum message_to_robot_type ...)
- void parse_arena_file (String& filename)
- void set_filenames ( String& log_fname, const String& statistics_fname,
const String& tournament_fname,
String& message_fname, const String& option_fname )
- void print_to_logfile ( const char first_letter ... )
- bool get_use_message_file ()
- Vector2D get_random_position ()
- List<String> get_arena_filenames ()
- int get_current_arena_nr ()
- int set_debug_level ( const int new_level)
- int get_max_debug_level ()
- void quit_ordered ()
- long int find_free_colour (const long int home_colour, const long int away_colour,
const class Robot*, const bool random_colours = false)
Public Static Methods
Private Methods
- void check_initialization ()
- void update ()
- void update_robots ()
- void read_robot_messages ()
- void check_robots ()
- void add_cookie ()
- void add_mine ()
- bool is_colour_allowed (const long int col, const double min_dist, const class Robot*)
- double colour_dist (const long int col1, const long int col2)
- void start_game ()
- void start_sequence ()
- void end_sequence ()
- void start_sequence_follow_up ()
- void end_sequence_follow_up ()
- void end_tournament ()
- ArenaRealTime ()
- ~ArenaRealTime ()
- void
clear ()
- void
set_filenames ( String& log_fname,
const String& statistics_fname,
const String& tournament_fname,
String& message_fname,
const String& option_fname )
- void
parse_arena_file (String& filename)
- void
print_to_logfile (const char first_letter ... )
- Vector2D
get_random_position ()
- void
broadcast (const message_to_robot_type msg_type ...)
- void
quit_ordered ()
- bool
timeout_function ()
- void
update ()
- void
add_cookie ()
- void
add_mine ()
- void
check_robots ()
- void
read_robot_messages ()
- void
update_robots ()
- double
colour_dist (const long col1, const long int col2)
- bool
is_colour_allowed (const long colour, const double min_dist, const Robot* robotp)
- long int
find_free_colour (const long int home_colour,
const long int away_colour,
const Robot* robotp, const bool random_colours)
- int
set_debug_level ( const int new_level)
- void
start_game ()
- void
end_game ()
- void
start_sequence ()
- void
start_sequence_follow_up ()
- void
end_sequence ()
- void
end_sequence_follow_up ()
- void
start_tournament_from_tournament_file ( const List<start_tournament_info_t>& robotfilename_list,
const List<start_tournament_info_t>& arenafilename_list,
const int robots_p_game, const int games_p_sequence,
const int n_o_sequences, ArenaRealTime* ar_p )
- void
end_tournament ()
Private Members
ArenaRealTime ()
| ArenaRealTime |
~ArenaRealTime ()
| ~ArenaRealTime |
[virtual]
bool timeout_function ()
| timeout_function |
Reimplemented from ArenaBase.
[static]
void end_game ()
| end_game |
Reimplemented from ArenaBase.
void parse_arena_file (String& filename)
| parse_arena_file |
void set_filenames ( String& log_fname, const String& statistics_fname,
const String& tournament_fname,
String& message_fname, const String& option_fname )
| set_filenames |
void print_to_logfile ( const char first_letter ... )
| print_to_logfile |
bool get_use_message_file ()
| get_use_message_file |
Vector2D get_random_position ()
| get_random_position |
List<String> get_arena_filenames ()
| get_arena_filenames |
int get_current_arena_nr ()
| get_current_arena_nr |
int set_debug_level ( const int new_level)
| set_debug_level |
Reimplemented from ArenaBase.
int get_max_debug_level ()
| get_max_debug_level |
void quit_ordered ()
| quit_ordered |
long int find_free_colour (const long int home_colour, const long int away_colour,
const class Robot*, const bool random_colours = false)
| find_free_colour |
void check_initialization ()
| check_initialization |
[private]
[private]
Reimplemented from ArenaBase.
void update_robots ()
| update_robots |
[private]
void read_robot_messages ()
| read_robot_messages |
[private]
void check_robots ()
| check_robots |
[private]
void add_cookie ()
| add_cookie |
[private]
void add_mine ()
| add_mine |
[private]
bool is_colour_allowed (const long int col, const double min_dist, const class Robot*)
| is_colour_allowed |
[private]
double colour_dist (const long int col1, const long int col2)
| colour_dist |
[private]
void start_game ()
| start_game |
[private]
Reimplemented from ArenaBase.
void start_sequence ()
| start_sequence |
[private]
Reimplemented from ArenaBase.
void end_sequence ()
| end_sequence |
[private]
Reimplemented from ArenaBase.
void start_sequence_follow_up ()
| start_sequence_follow_up |
[private]
void end_sequence_follow_up ()
| end_sequence_follow_up |
[private]
void end_tournament ()
| end_tournament |
[private]
Reimplemented from ArenaBase.
String tournament_file_name
| tournament_file_name |
[private]
ofstream LOG_FILE
| LOG_FILE |
[private]
bool use_log_file
| use_log_file |
[private]
int update_count_for_logging
| update_count_for_logging |
[private]
int** robots_in_sequence
| robots_in_sequence |
[private]
double next_check_time
| next_check_time |
[private]
int number_of_arenas
| number_of_arenas |
[private]
int current_arena_nr
| current_arena_nr |
[private]
ArenaRealTime ()
| ArenaRealTime |
[private]
~ArenaRealTime ()
| ~ArenaRealTime |
[private]
[private]
void
set_filenames ( String& log_fname,
const String& statistics_fname,
const String& tournament_fname,
String& message_fname,
const String& option_fname )
| set_filenames |
[private]
void
parse_arena_file (String& filename)
| parse_arena_file |
[private]
void
print_to_logfile (const char first_letter ... )
| print_to_logfile |
[private]
Vector2D
get_random_position ()
| get_random_position |
[private]
[private]
void
quit_ordered ()
| quit_ordered |
[private]
bool
timeout_function ()
| timeout_function |
[private]
Reimplemented from ArenaBase.
[private]
Reimplemented from ArenaBase.
void
add_cookie ()
| add_cookie |
[private]
void
add_mine ()
| add_mine |
[private]
void
check_robots ()
| check_robots |
[private]
void
read_robot_messages ()
| read_robot_messages |
[private]
void
update_robots ()
| update_robots |
[private]
double
colour_dist (const long col1, const long int col2)
| colour_dist |
[private]
bool
is_colour_allowed (const long colour, const double min_dist, const Robot* robotp)
| is_colour_allowed |
[private]
long int
find_free_colour (const long int home_colour,
const long int away_colour,
const Robot* robotp, const bool random_colours)
| find_free_colour |
[private]
int
set_debug_level ( const int new_level)
| set_debug_level |
[private]
Reimplemented from ArenaBase.
void
start_game ()
| start_game |
[private]
Reimplemented from ArenaBase.
void
end_game ()
| end_game |
[private]
Reimplemented from ArenaBase.
void
start_sequence ()
| start_sequence |
[private]
Reimplemented from ArenaBase.
void
start_sequence_follow_up ()
| start_sequence_follow_up |
[private]
void
end_sequence ()
| end_sequence |
[private]
Reimplemented from ArenaBase.
void
end_sequence_follow_up ()
| end_sequence_follow_up |
[private]
[private]
void
end_tournament ()
| end_tournament |
[private]
Reimplemented from ArenaBase.
Generated by: york on uerce13ws03 on Fri Oct 15 13:24:52 2004, using kdoc 2.0a54. |