slist_t Struct Reference

Slist structure. More...

#include <data.h>

Collaboration diagram for slist_t:

Collaboration graph
[legend]

Data Fields

int var_typeid
 Variable resource type ID.
int varnum
 Length of the array (number of variable resources).
int * tuplenum
 Length of the array.
int ** tupleid
 Array of tuple IDs. First index n goes from 0 to the number of resources with var_typeid resource type ID minus 1. Second index m goes from 0 to tuplenum[n].
slistnext
 Pointer to the next element in linked list. NULL if this is the last element.

Detailed Description

Slist structure.

Slist structure holds a look-up table for use in fitness functions in modules.

tupleid is a two-dimensional array of tuple IDs. tupleid[resid][n] points to the n th tuple that is using resource with resource ID resid and resource type ID var_typeid.

Example usage: var_typeid is a resource type ID of the "time" resource. In this case the timetable can be easily checked which tuples are scheduled at the same time.

See also:
ext_t


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