#include <modsup.h>
Collaboration diagram for fitnessfunc_t:

| Data Fields | |
| int | weight | 
| weight value | |
| int | man | 
| 1 if this function is marked as mandatory and 0 if not. | |
| int * | typeid | 
| Array of resource type IDs. Chromosomes for listed resource types are passed to the fitness function in the same order. Array must be terminated with INT_MIN. | |
| ext ** | req_ext | 
| Array of pointers to extension structs. Extensions listed are passed to the fitness function in the same order. Array must be NULL terminated. | |
| slist ** | req_slist | 
| Array of pointers to slist structs. Lookups listed are passed to the fitness function in the same order. Array must be NULL terminated. | |
| chromo ** | chr | 
| Array of pointers to requested chromosomes. NULL terminated. This array is updated from typeid each time this fitness function is call. | |
| char * | name | 
| Name of this function. | |
| fitness_f | func | 
| Pointer to the function. | |
| fitnessfunc * | next | 
| Pointer to the next element in the linked list. | |
 1.5.2
 1.5.2