This graph shows which files directly or indirectly include this file:

Data Structures | |
| struct | resource_t |
| Resource structure. More... | |
| struct | resourcetype_t |
| Resource type structure. More... | |
| struct | domain_t |
| Domain structure. More... | |
| struct | chromo_t |
| Chromosome structure. More... | |
| struct | table_t |
| Timetable structure. More... | |
| struct | population_t |
| Population structure. More... | |
| struct | tupleinfo_t |
| This structure holds information about defined tuples (events). More... | |
Defines | |
| #define | RES_ALLOC_CHUNK 10 |
| Number of resource structs to allocate at once. | |
| #define | TUPLE_ALLOC_CHUNK 10 |
| Number of tuples to allocate at once. | |
Typedefs | |
| typedef resource_t | resource |
| typedef resourcetype_t | resourcetype |
| typedef domain_t | domain |
| typedef chromo_t | chromo |
| typedef table_t | table |
| typedef population_t | population |
| typedef tupleinfo_t | tupleinfo |
Functions | |
| population * | population_new (int size, int typenum, int tuplenum) |
| Allocates population structure. | |
| void | population_free (population *pop) |
| Free all allocated memory in a population struct. | |
| population * | population_load (char *filename) |
| Loads population from a file. | |
| int | population_save (char *filename, population *pop) |
| Saves population to a file. | |
| table * | table_new (int typenum, int tuplenum) |
| Allocates a new table structure. | |
| void | table_free (table *tab) |
| Free a table structure. | |
| void population_free | ( | population * | pop | ) |
Free all allocated memory in a population struct.
| pop | Pointer to the population struct to be freed. |
| population* population_load | ( | char * | filename | ) |
Loads population from a file.
| filename | Name of the file with the saved population. |
| population* population_new | ( | int | size, | |
| int | typenum, | |||
| int | tuplenum | |||
| ) |
Allocates population structure.
| size | Size of the population. | |
| typenum | Number of defined resource types. | |
| tuplenum | Number of defined tuples. |
| int population_save | ( | char * | filename, | |
| population * | pop | |||
| ) |
Saves population to a file.
| filename | Name of the file for the saved population. | |
| pop | Pointer to the population struct to be saved. |
| void table_free | ( | table * | tab | ) |
Free a table structure.
| tab | Pointer to the table structure. |
| table* table_new | ( | int | typenum, | |
| int | tuplenum | |||
| ) |
Allocates a new table structure.
| typenum | Number of defined resource types. | |
| tuplenum | Number of defined tuples. |
1.5.2