Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

paramstruct Struct Reference

A struct with all necessary parameters to initialise an optimisation Problem and a Population. More...

#include <galsample.h>

List of all members.

Public Attributes

int nrGenerations
 Nr of generations.
int nrMembers
 Nr of strings per generation.
int len
 Length of each bitstring.
char outputfilename [80]
 Output filename.
int nrElite
 Nr of elite members (set to 0 to turn off elitism).
double mutationprob
 Probability of mutation for a gene.
double crossoverprob
 Probability of crossover for a string.
int printgenerations
 Print to screen? 1=yes 0=no.
int fprintgenerations
 Print chromosome data to file? 1=yes 0=no.
int fprintobjvals
 Print objective values to file 1=yes 0=no.
double rmin
 Min value for real (fl.point) parameter.
double rmax
 Max value for real (fl.point) parameter.
int nrDim
 Search space dimension.
int nrPoints
 Nr of points in n-space.
int convergencethreshold
 Convergence if max fitness is equal for this nr of generations.


Detailed Description

A struct with all necessary parameters to initialise an optimisation Problem and a Population.

Parameters are generally read from file.


The documentation for this struct was generated from the following file:
Generated on Tue Oct 20 12:59:24 2009 for LabSci GALib optimisation by genetic algorithms, student version by  doxygen 1.3.9.1