Collaboration diagram for table_t:
|Number of chromosomes (equal to the number of defined resource types). |
|Pointer to an array of typenum chromosomes. |
|Fitness of this individual. If less than 0 then this individual needs to be evaluated. |
|Array of n integers, where n is the number of fitness functions used, containing individial error counts of each part of the fitness function. |
|Set to 1 if this structures describes an acceptable solution to the timetabling problem. Set to 0 if not. |
This structure describes an individual (a candidate solution to the timetabling problem) in the population of the genetic algorithm.
Each individual has n chromosomes, where n>0. These chromosomes are split between two groups: constant and variable. Constant chromosomes are not touched by the genetic algorithm (their contents are defined in the config file).