#include <chromo.h>
Collaboration diagram for resourcetype_t:

Data Fields | |
| char * | type |
| Name of this resource type. | |
| int | var |
| Set to 1 if this is a variable resource and set to 0 if this is a constant resource. | |
| int | typeid |
| Resource type ID. | |
| int ** | conflicts |
| This is a two-dimensional array describing conflicts between resources of this type. | |
| int ** | c_lookup |
| Lookup table for conflicts. | |
| int * | c_num |
| Lengths of lookup arrays. | |
| int | c_inuse |
| Set to 1 if there are non-trivial conflicts defined. | |
| int | resnum |
| Number of resources of this type. | |
| resource * | res |
| Array of resnum resources. | |
This structure describes a type of resources (for example: teachers, groups of students, classrooms, timeslots, etc.)
This is a two-dimensional array describing conflicts between resources of this type.
If
conflists[n][m]==1
| int** resourcetype_t::c_lookup |
Lookup table for conflicts.
c_loopup[n]
c_num[n]
1.5.2