#include <recruitment.hpp>
Public Member Functions | |
data (const unit_map::const_iterator leader) | |
double | get_score_sum () const |
score_map | get_normalized_scores () const |
std::string | to_string () const |
Public Attributes | |
unit_map::const_iterator | leader |
std::set< std::string > | recruits |
score_map | scores |
double | ratio_score |
int | recruit_count |
bool | in_danger |
Definition at line 56 of file recruitment.hpp.
|
inlineexplicit |
Definition at line 69 of file recruitment.hpp.
|
inline |
Definition at line 78 of file recruitment.hpp.
References get_score_sum(), and scores.
Referenced by ai::default_recruitment::recruitment::get_best_recruit_from_scores().
|
inline |
Definition at line 71 of file recruitment.hpp.
Referenced by get_normalized_scores().
|
inline |
Definition at line 89 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute().
bool ai::default_recruitment::data::in_danger |
Definition at line 67 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute().
unit_map::const_iterator ai::default_recruitment::data::leader |
Definition at line 57 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute_recall(), ai::default_recruitment::recruitment::execute_recruit(), ai::default_recruitment::recruitment::get_appropriate_recall(), and ai::default_recruitment::recruitment::leader_matches_job().
double ai::default_recruitment::data::ratio_score |
Definition at line 64 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute(), and ai::default_recruitment::recruitment::get_best_leader_from_ratio_scores().
int ai::default_recruitment::data::recruit_count |
Definition at line 66 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute_recall(), ai::default_recruitment::recruitment::execute_recruit(), and ai::default_recruitment::recruitment::get_best_leader_from_ratio_scores().
std::set<std::string> ai::default_recruitment::data::recruits |
Definition at line 58 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::execute(), ai::default_recruitment::recruitment::get_random_pattern_type_if_exists(), and ai::default_recruitment::recruitment::leader_matches_job().
score_map ai::default_recruitment::data::scores |
Definition at line 59 of file recruitment.hpp.
Referenced by ai::default_recruitment::recruitment::do_randomness(), ai::default_recruitment::recruitment::do_similarity_penalty(), ai::default_recruitment::recruitment::execute(), get_normalized_scores(), and ai::default_recruitment::recruitment::handle_recruitment_more().