#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "assert.h"
#include "gettext.h"
#include "modsup.h"
#include "chromo.h"
#include "data.h"
Functions | |
table * | table_new (int typenum, int tuplenum) |
Allocates a new table structure. | |
void | table_free (table *tab) |
Free a table structure. | |
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.
|
|
Free a table structure.
|
|
Allocates a new table structure.
|