The Battle for Wesnoth  1.19.7+dev
ai::formula_ai Member List

This is the complete list of members for ai::formula_ai, including all inherited members.

add_aspects(std::vector< aspect_ptr > &aspects) overrideai::readonly_context_proxyinlinevirtual
add_facet(const std::string &id, const config &cfg) const overrideai::readonly_context_proxyinlinevirtual
add_formula_function(const std::string &name, const wfl::const_formula_ptr &formula, const wfl::const_formula_ptr &precondition, const std::vector< std::string > &args)ai::formula_aivirtual
add_input(formula_input_vector &inputs, const std::string &key, formula_access access_type=formula_access::read_only)wfl::formula_callableinlineprotectedstatic
ai_default classai::formula_aifriend
ai_ptr_ai::formula_aiprivate
ATTACK_C enum valuewfl::formula_callableprotected
ATTACK_TYPE_C enum valuewfl::formula_callableprotected
attacks_callableai::formula_aiprivate
best_defensive_position(const map_location &unit, const move_map &dstsrc, const move_map &srcdst, const move_map &enemy_dstsrc) const overrideai::readonly_context_proxyinlinevirtual
calculate_moves(const unit_map &units, std::map< map_location, pathfind::paths > &possible_moves, move_map &srcdst, move_map &dstsrc, bool enemy, bool assume_full_movement=false, const terrain_filter *remove_destinations=nullptr, bool see_all=false) const overrideai::readonly_context_proxyinlinevirtual
calculate_possible_moves(std::map< map_location, pathfind::paths > &possible_moves, move_map &srcdst, move_map &dstsrc, bool enemy, bool assume_full_movement=false, const terrain_filter *remove_destinations=nullptr) const overrideai::readonly_context_proxyinlinevirtual
can_reach_unit(map_location unit_A, map_location unit_B) constai::formula_ai
cfg_ai::formula_aiprivate
check_attack_action(const map_location &attacker_loc, const map_location &defender_loc, int attacker_weapon) overrideai::readonly_context_proxyinlinevirtual
check_move_action(const map_location &from, const map_location &to, bool remove_movement=true, bool unreach_is_ok=false) overrideai::readonly_context_proxyinlinevirtual
check_recall_action(const std::string &id, const map_location &where=map_location::null_location(), const map_location &from=map_location::null_location()) overrideai::readonly_context_proxyinlinevirtual
check_recruit_action(const std::string &unit_name, const map_location &where=map_location::null_location(), const map_location &from=map_location::null_location()) overrideai::readonly_context_proxyinlinevirtual
check_stopunit_action(const map_location &unit_location, bool remove_movement=true, bool remove_attacks=false) overrideai::readonly_context_proxyinlinevirtual
check_synced_command_action(const std::string &lua_code, const map_location &location=map_location::null_location()) overrideai::readonly_context_proxyinlinevirtual
convert_map(const std::map< T, K > &input_map)wfl::formula_callableinlineprotectedstatic
convert_set(const std::set< T > &input_set)wfl::formula_callableinlineprotectedstatic
convert_vector(const std::vector< T > &input_vector)wfl::formula_callableinlineprotectedstatic
create_optional_formula(const std::string &formula_string) constai::formula_ai
current_team() const overrideai::readonly_context_proxyinlinevirtual
defensive_position_cache() const overrideai::readonly_context_proxyinlinevirtual
diagnostic(const std::string &msg) overrideai::readonly_context_proxyinlinevirtual
display_message(const std::string &msg) constai::formula_aiprivate
do_compare(const formula_callable *callable) constwfl::formula_callableinlineprotectedvirtual
dtor_notifywfl::formula_callablemutableprotected
equals(const formula_callable &other) constwfl::formula_callableinline
evaluate(const std::string &formula_str)ai::formula_ai
evaluate_candidate_action(const wfl::candidate_action_ptr &fai_ca)ai::formula_ai
execute_candidate_action(const wfl::candidate_action_ptr &fai_ca)ai::formula_ai
fake_ptr()wfl::formula_callableinline
fake_ptr() constwfl::formula_callableinline
formula_ai(const formula_ai &)=deleteai::formula_ai
formula_ai(readonly_context &context, const config &cfg)ai::formula_aiexplicit
FORMULA_C enum valuewfl::formula_callableprotected
formula_callable(bool has_self=true)wfl::formula_callableinlineexplicit
function_table_ai::formula_aimutableprivate
get_advancements() const overrideai::readonly_context_proxyinlinevirtual
get_aggression() const overrideai::readonly_context_proxyinlinevirtual
get_ai_context(const wfl::const_formula_callable_ptr &for_fai)ai::formula_aifriend
get_allow_ally_villages() const overrideai::readonly_context_proxyinlinevirtual
get_allowed_teleports(unit_map::iterator &unit_it) constai::formula_ai
get_aspects() const overrideai::readonly_context_proxyinlinevirtual
get_aspects() overrideai::readonly_context_proxyinlinevirtual
get_attacks() const overrideai::readonly_context_proxyinlinevirtual
get_attacks_as_variant() const overrideai::readonly_context_proxyinlinevirtual
get_avoid() const overrideai::readonly_context_proxyinlinevirtual
get_caution() const overrideai::readonly_context_proxyinlinevirtual
get_dstsrc() const overrideai::readonly_context_proxyinlinevirtual
get_enemy_dstsrc() const overrideai::readonly_context_proxyinlinevirtual
get_enemy_possible_moves() const overrideai::readonly_context_proxyinlinevirtual
get_enemy_srcdst() const overrideai::readonly_context_proxyinlinevirtual
get_engine_by_cfg(const config &cfg) overrideai::readonly_context_proxyinlinevirtual
get_engines() const overrideai::readonly_context_proxyinlinevirtual
get_engines() overrideai::readonly_context_proxyinlinevirtual
get_goals() const overrideai::readonly_context_proxyinlinevirtual
get_goals() overrideai::readonly_context_proxyinlinevirtual
get_grouping() const overrideai::readonly_context_proxyinlinevirtual
get_info() const overrideai::readonly_context_proxyinlinevirtual
get_inputs(wfl::formula_input_vector &inputs) const overrideai::formula_aiprivatevirtual
get_keeps() constai::formula_ai
get_keeps_cache() constai::formula_aiinline
get_leader_aggression() const overrideai::readonly_context_proxyinlinevirtual
get_leader_goal() const overrideai::readonly_context_proxyinlinevirtual
get_leader_ignores_keep() const overrideai::readonly_context_proxyinlinevirtual
get_leader_value() const overrideai::readonly_context_proxyinlinevirtual
get_passive_leader() const overrideai::readonly_context_proxyinlinevirtual
get_passive_leader_shares_keep() const overrideai::readonly_context_proxyinlinevirtual
get_possible_moves() const overrideai::readonly_context_proxyinlinevirtual
get_readonly_context() overrideai::readonly_context_proxyinlinevirtual
get_recruitment_diversity() const overrideai::readonly_context_proxyinlinevirtual
get_recruitment_instructions() const overrideai::readonly_context_proxyinlinevirtual
get_recruitment_more() const overrideai::readonly_context_proxyinlinevirtual
get_recruitment_pattern() const overrideai::readonly_context_proxyinlinevirtual
get_recruitment_randomness() const overrideai::readonly_context_proxyinlinevirtual
get_recruitment_save_gold() const overrideai::readonly_context_proxyinlinevirtual
get_recursion_count() const overrideai::formula_aivirtual
get_retreat_enemy_weight() const overrideai::readonly_context_proxyinlinevirtual
get_retreat_factor() const overrideai::readonly_context_proxyinlinevirtual
get_scout_village_targeting() const overrideai::readonly_context_proxyinlinevirtual
ai::get_side() const =0ai::side_contextpure virtual
ai::side_context_proxy::get_side() const overrideai::side_context_proxyinlinevirtual
ai::get_side_context()=0ai::side_contextpure virtual
ai::side_context_proxy::get_side_context() overrideai::side_context_proxyinlinevirtual
get_simple_targeting() const overrideai::readonly_context_proxyinlinevirtual
get_srcdst() const overrideai::readonly_context_proxyinlinevirtual
get_support_villages() const overrideai::readonly_context_proxyinlinevirtual
get_value(const std::string &key) const overrideai::formula_aiprivatevirtual
get_village_value() const overrideai::readonly_context_proxyinlinevirtual
get_villages_per_scout() const overrideai::readonly_context_proxyinlinevirtual
handle_exception(const wfl::formula_error &e) constai::formula_ai
handle_exception(const wfl::formula_error &e, const std::string &failed_operation) constai::formula_ai
has_key(const std::string &key) constwfl::formula_callableinline
has_self_wfl::formula_callableprivate
init_readonly_context_proxy(readonly_context &target)ai::readonly_context_proxyinline
init_side_context_proxy(side_context &target)ai::side_context_proxyinline
inputs() constwfl::formula_callableinline
invalidate_defensive_position_cache() const overrideai::readonly_context_proxyinlinevirtual
invalidate_keeps_cache() const overrideai::readonly_context_proxyinlinevirtual
invalidate_move_maps() const overrideai::readonly_context_proxyinlinevirtual
is_active(const std::string &time_of_day, const std::string &turns) const overrideai::readonly_context_proxyinlinevirtual
is_dst_src_enemy_valid_lua() const overrideai::readonly_context_proxyinlinevirtual
is_dst_src_valid_lua() const overrideai::readonly_context_proxyinlinevirtual
is_keep_ignoring_leader(const std::string &id) const overrideai::readonly_context_proxyinlinevirtual
is_passive_keep_sharing_leader(const std::string &id) const overrideai::readonly_context_proxyinlinevirtual
is_passive_leader(const std::string &id) const overrideai::readonly_context_proxyinlinevirtual
is_src_dst_enemy_valid_lua() const overrideai::readonly_context_proxyinlinevirtual
is_src_dst_valid_lua() const overrideai::readonly_context_proxyinlinevirtual
keeps() const overrideai::readonly_context_proxyinlinevirtual
keeps_cache_ai::formula_aimutableprivate
leader_can_reach_keep() const overrideai::readonly_context_proxyinlinevirtual
less(const formula_callable &other) constwfl::formula_callableinline
load_candidate_action_from_config(const config &cfg)ai::formula_ai
LOCATION_C enum valuewfl::formula_callableprotected
log_message(const std::string &msg) overrideai::readonly_context_proxyinlinevirtual
make_action(const wfl::const_formula_ptr &formula_, const wfl::formula_callable &variables)ai::formula_ai
MOVE_C enum valuewfl::formula_callableprotected
move_map_backup typedefai::formula_ai
MOVE_MAP_C enum valuewfl::formula_callableprotected
MOVE_PARTIAL_C enum valuewfl::formula_callableprotected
mutate_value(const std::string &key, const variant &value)wfl::formula_callableinline
nearest_keep(const map_location &loc) const overrideai::readonly_context_proxyinlinevirtual
on_create()ai::formula_ai
on_readonly_context_create() overrideai::readonly_context_proxyinlinevirtual
operator=(const formula_ai &)=deleteai::formula_ai
power_projection(const map_location &loc, const move_map &dstsrc) const overrideai::readonly_context_proxyinlinevirtual
query_value(const std::string &key) constwfl::formula_callableinline
raise_user_interact() const overrideai::readonly_context_proxyinlinevirtual
readonly_context()ai::readonly_contextinline
readonly_context_proxy()ai::readonly_context_proxyinline
recalculate_move_maps() const overrideai::readonly_context_proxyinlinevirtual
recalculate_move_maps_enemy() const overrideai::readonly_context_proxyinlinevirtual
recursion_counter_ai::formula_aiprivate
serialize(std::string &str) constwfl::formula_callableinline
serialize_to_string(std::string &) constwfl::formula_callableinlineprotectedvirtual
set_ai_context(ai_context *context)ai::formula_ai
set_dst_src_enemy_valid_lua() overrideai::readonly_context_proxyinlinevirtual
set_dst_src_valid_lua() overrideai::readonly_context_proxyinlinevirtual
ai::set_side(side_number side)=0ai::side_contextpure virtual
ai::side_context_proxy::set_side(side_number side) overrideai::side_context_proxyinlinevirtual
set_src_dst_enemy_valid_lua() overrideai::readonly_context_proxyinlinevirtual
set_src_dst_valid_lua() overrideai::readonly_context_proxyinlinevirtual
set_value(const std::string &key, const wfl::variant &value) overrideai::formula_aiprivatevirtual
shortest_path_calculator(const map_location &src, const map_location &dst, unit_map::iterator &unit_it, pathfind::teleport_map &allowed_teleports) constai::formula_ai
side_context()ai::side_contextinline
side_context_proxy()ai::side_context_proxyinline
subscribe_dtor(callable_die_subscriber *d) constwfl::formula_callableinline
suitable_keep(const map_location &leader_location, const pathfind::paths &leader_paths) const overrideai::readonly_context_proxyinlinevirtual
swap_move_map(move_map_backup &backup)ai::formula_ai
target_ai::readonly_context_proxyprivate
TERRAIN_C enum valuewfl::formula_callableprotected
to_config() constai::formula_aivirtual
to_readonly_context_config() const overrideai::readonly_context_proxyinlinevirtual
ai::to_side_context_config() const =0ai::side_contextpure virtual
ai::side_context_proxy::to_side_context_config() const overrideai::side_context_proxyinlinevirtual
TYPE enum namewfl::formula_callableprotected
type_wfl::formula_callableprotected
UNIT_C enum valuewfl::formula_callableprotected
unit_stats_cache() const overrideai::readonly_context_proxyinlinevirtual
unit_stats_cache_t typedefai::readonly_context
UNIT_TYPE_C enum valuewfl::formula_callableprotected
unsubscribe_dtor(callable_die_subscriber *d) constwfl::formula_callableinline
vars_ai::formula_aiprivate
~formula_ai()ai::formula_aiinlinevirtual
~formula_callable()wfl::formula_callableinlinevirtual
~readonly_context()ai::readonly_contextinlinevirtual
~readonly_context_proxy()ai::readonly_context_proxyinlinevirtual
~side_context()ai::side_contextinlinevirtual
~side_context_proxy()ai::side_context_proxyinlinevirtual