![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
A partial solution. More...
Public Attributes | |
| int * | worker_counts |
| int * | prereqs_filled |
| int | production [O_LAST] |
| int | idle |
A partial solution.
Has the count of workers assigned to each lattice position, and a count of idle workers yet unassigned.
| int partial_solution::idle |
Definition at line 185 of file cm.cpp.
Referenced by add_workers(), apply_solution(), bb_next(), choice_is_promising(), complete_solution(), compute_max_stats_heuristic(), convert_solution_to_result(), copy_partial_solution(), init_partial_solution(), and take_child_choice().
| int* partial_solution::prereqs_filled |
Definition at line 182 of file cm.cpp.
Referenced by add_workers(), copy_partial_solution(), destroy_partial_solution(), init_partial_solution(), and prereqs_filled().
| int partial_solution::production[O_LAST] |
Definition at line 184 of file cm.cpp.
Referenced by add_workers(), choice_is_promising(), compute_max_stats_heuristic(), copy_partial_solution(), and init_partial_solution().
| int* partial_solution::worker_counts |
Definition at line 181 of file cm.cpp.
Referenced by add_workers(), apply_solution(), complete_solution(), copy_partial_solution(), destroy_partial_solution(), init_partial_solution(), next_choice(), and specialists_in_solution().