pga.h File Reference


Classes

struct  individual
struct  population
struct  bestpop
struct  best_sort_struct
struct  parm_struct

Functions

void read_GAparms (parm_struct *, FILE *)
void write_GAparms (parm_struct *, FILE *)
void print_best (int, parm_struct *, bestpop *)
void print_pop (int, parm_struct *, population *)
void statistics_pop (int, int, parm_struct *, population *, bestpop *, FILE *)
void evaluate_pop (int, parm_struct *, population *)
double evaluate_individual (int, parm_struct *, int *)
double eval_user (int, char *, int, double *)
void make_name (char *, int, char *, char *)
void make_name_2 (char *, int, int, char *, char *)
void filter (parm_struct *, int *, double *)
double str_to_double (int *, int, int, double, double)
int str_to_int (int *, int, int, double, double)
void initialize_pop (parm_struct *, population *, int)
void initialize_best (parm_struct *, bestpop *, int)
void mutate_pop (parm_struct *, population *)
void best_pop (population *, bestpop *, bestpop *)
void select_pop_stepftn (parm_struct *, population *)
void select_pop_roulette (parm_struct *, population *)
void crossover_pop (parm_struct *, population *, population *, int)
void crossover (parm_struct *, individual *, individual *, individual *, individual *)
double hamming_distance (parm_struct *, individual *, individual *)
double GAran (int)
double ran3 (int *)
void degray (int *, int *, int, int)
double rmax (double, double)
double rmin (double, double)
int compare_bsort ()
int compare_pop ()
void GA_setup (parm_struct *, population *, population *, bestpop *, bestpop *, FILE *)
void GA_loop (parm_struct *, population *, population *, bestpop *, bestpop *, FILE *, int)
void GA_main ()

Function Documentation

void best_pop ( population ,
bestpop ,
bestpop  
)

int compare_bsort (  ) 

int compare_pop (  ) 

void crossover ( parm_struct ,
individual ,
individual ,
individual ,
individual  
)

void crossover_pop ( parm_struct ,
population ,
population ,
int   
)

void degray ( int *  ,
int *  ,
int  ,
int   
)

double eval_user ( int  ,
char *  ,
int  ,
double *   
)

double evaluate_individual ( int  ,
parm_struct ,
int *   
)

void evaluate_pop ( int  ,
parm_struct ,
population  
)

void filter ( parm_struct ,
int *  ,
double *   
)

void GA_loop ( parm_struct ,
population ,
population ,
bestpop ,
bestpop ,
FILE *  ,
int   
)

void GA_main (  ) 

void GA_setup ( parm_struct ,
population ,
population ,
bestpop ,
bestpop ,
FILE *   
)

double GAran ( int   ) 

double hamming_distance ( parm_struct ,
individual ,
individual  
)

void initialize_best ( parm_struct ,
bestpop ,
int   
)

void initialize_pop ( parm_struct ,
population ,
int   
)

void make_name ( char *  ,
int  ,
char *  ,
char *   
)

void make_name_2 ( char *  ,
int  ,
int  ,
char *  ,
char *   
)

void mutate_pop ( parm_struct ,
population  
)

void print_best ( int  ,
parm_struct ,
bestpop  
)

void print_pop ( int  ,
parm_struct ,
population  
)

double ran3 ( int *   ) 

void read_GAparms ( parm_struct ,
FILE *   
)

double rmax ( double  ,
double   
)

double rmin ( double  ,
double   
)

void select_pop_roulette ( parm_struct ,
population  
)

void select_pop_stepftn ( parm_struct ,
population  
)

void statistics_pop ( int  ,
int  ,
parm_struct ,
population ,
bestpop ,
FILE *   
)

double str_to_double ( int *  ,
int  ,
int  ,
double  ,
double   
)

int str_to_int ( int *  ,
int  ,
int  ,
double  ,
double   
)

void write_GAparms ( parm_struct ,
FILE *   
)


Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.