#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <pvm3.h>
#include "assert.h"
#include "main.h"
#include "chromo.h"
#include "transfer.h"
#include "error.h"
#include "genetic.h"
#include "data.h"
#include "modsup.h"
#include "params.h"
#include "cache.h"
#include "depend.h"
#include "gettext.h"
Functions | |
| static void | table_mate (table *s1, table *s2, table *d1, table *d2) |
| Perform crossover operation between two timetables. | |
| static void | table_mutate (table *t1) |
| Perform mutation on a timetable. | |
| static void | table_rand (table *t1) |
| Perform randomization on a timetable. | |
| static int | table_compare (const void *t1, const void *t2) |
| Compares fitness value of timetable t1 to timetable t2. | |
| void | new_generation (population *pop) |
| Makes a new generation in the population. | |
Variables | |
| int | sibling |
|
|
Makes a new generation in the population.
|
|
||||||||||||
|
Compares fitness value of timetable t1 to timetable t2.
|
|
||||||||||||||||||||
|
Perform crossover operation between two timetables.
|
|
|
Perform mutation on a timetable.
|
|
|
Perform randomization on a timetable.
|
1.4.6