fitnessfunc_t Struct Reference

Structure describing a fitness function. More...

#include <modsup.h>

Collaboration diagram for fitnessfunc_t:

Collaboration graph
[legend]

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.
fitnessfuncnext
 Pointer to the next element in the linked list.

Detailed Description

Structure describing a fitness function.


Generated on Tue Jul 3 13:23:37 2007 for Tablix by  doxygen 1.5.2