class ArenaRealTime


Definition#include <ArenaRealTime.h>
InheritsArenaBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Private Methods

Private Members


Detailed Description

 ArenaRealTime ()

ArenaRealTime

 ~ArenaRealTime ()

~ArenaRealTime

[virtual]

void  clear ()

clear

bool  timeout_function ()

timeout_function

Reimplemented from ArenaBase.

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 )

start_tournament_from_tournament_file

[static]

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)

start_tournament

void  end_game ()

end_game

Reimplemented from ArenaBase.

void  broadcast (enum message_to_robot_type ...)

broadcast

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]

void  update ()

update

[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]

void  clear ()

clear

[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]

void  broadcast (const message_to_robot_type msg_type ...)

broadcast

[private]

void  quit_ordered ()

quit_ordered

[private]

bool  timeout_function ()

timeout_function

[private]

Reimplemented from ArenaBase.

void  update ()

update

[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]

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 )

start_tournament_from_tournament_file

[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.