Freeciv-3.3
Loading...
Searching...
No Matches
Data Fields
cm_state Struct Reference

Data Fields

struct cm_parameter parameter
 
struct citypcity
 
struct tile_type_vector lattice
 
struct tile_type_vector lattice_by_prod [O_LAST]
 
struct partial_solution best
 
struct cm_fitness best_value
 
int min_production [O_LAST]
 
int min_luxury
 
struct partial_solution current
 
struct { 
 
   int *   stack 
 
   int   size 
 
choice 
 
boolworkers_map
 

Detailed Description

Definition at line 200 of file cm.c.

Field Documentation

◆ best

struct partial_solution cm_state::best

◆ best_value

struct cm_fitness cm_state::best_value

Definition at line 211 of file cm.c.

Referenced by bb_next(), begin_search(), and cm_state_init().

◆ [struct]

struct { ... } cm_state::choice

◆ current

struct partial_solution cm_state::current

◆ lattice

struct tile_type_vector cm_state::lattice

Definition at line 206 of file cm.c.

Referenced by begin_search(), cm_state_free(), cm_state_init(), num_types(), and tile_type_get().

◆ lattice_by_prod

struct tile_type_vector cm_state::lattice_by_prod[O_LAST]

◆ min_luxury

int cm_state::min_luxury

Definition at line 220 of file cm.c.

Referenced by choice_is_promising(), and cm_state_init().

◆ min_production

int cm_state::min_production[O_LAST]

Definition at line 217 of file cm.c.

Referenced by choice_is_promising(), and init_min_production().

◆ parameter

struct cm_parameter cm_state::parameter

◆ pcity

struct city* cm_state::pcity

◆ size

int cm_state::size

◆ stack

int* cm_state::stack

◆ workers_map

bool* cm_state::workers_map

Definition at line 234 of file cm.c.

Referenced by apply_solution(), cm_state_free(), cm_state_init(), and convert_solution_to_result().