Freeciv-3.1: partial_solution Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
partial_solution Struct Reference

## Data Fields

int * | worker_counts
int * | prereqs_filled
int | production [O_LAST]
int | idle

## Detailed Description

Definition at line 186 of file cm.c.

## Field Documentation

## ◆ idle

int partial_solution::idle

Definition at line 192 of file cm.c.

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().

## ◆ prereqs_filled

int* partial_solution::prereqs_filled

Definition at line 189 of file cm.c.

Referenced by add_workers(), copy_partial_solution(), destroy_partial_solution(), init_partial_solution(), and prereqs_filled().

## ◆ production

int partial_solution::production[O_LAST]

Definition at line 191 of file cm.c.

Referenced by add_workers(), choice_is_promising(), compute_max_stats_heuristic(), copy_partial_solution(), and init_partial_solution().

## ◆ worker_counts

int* partial_solution::worker_counts

Definition at line 188 of file cm.c.

Referenced by add_workers(), apply_solution(), complete_solution(), copy_partial_solution(), destroy_partial_solution(), init_partial_solution(), next_choice(), and specialists_in_solution().