#include "config.h"
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. |
|
Free all allocated memory in a population struct.
|
|
Loads population from a file.
|
|
Allocates population structure.
|
|
Saves population to a file.
|