#include <chromo.h>
Collaboration diagram for chromo_t:
Data Fields | |
int | gennum |
Number of tuples (length of the array). | |
int * | gen |
Array of gennum resource IDs. (telling which resource has been assigned to which tuple). | |
resourcetype * | restype |
Pointer to the resource type struct this chromosome belongs to. | |
table * | tab |
Pointer to the table this chromosome belongs to. |
This structure holds an array of resources of one resource type that were assigned (either automatically by the genetic algorithm in the case of variable resource or by hand in the config file in the case of constant resources) to all events (tuples) in the timetable