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

galsample.h File Reference

Combines all files and settings for a basic GALib run. More...

#include <iostream>
#include <fstream>
#include <cstring>
#include <stdio.h>
#include "galib.h"
#include "MaxIntProblem.h"

Include dependency graph for galsample.h:

Go to the source code of this file.

Classes

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

Functions

bool readParameters (paramstruct *parameters, int argc, char **argv)
 Reads parameters from a file.


Detailed Description

Combines all files and settings for a basic GALib run.

Author:
Arthur van Dam, dam@math.uu.nl

Function Documentation

bool readParameters paramstruct parameters,
int  argc,
char **  argv
 

Reads parameters from a file.

Parameters:
parameters The paramstruct to store the read parameters in.
argc Argument count of main program.
argv Commandline arguments of main program. If no arguments were given, the filename defaults to 'genetic.input'.


Generated on Tue Oct 20 12:59:21 2009 for LabSci GALib optimisation by genetic algorithms, student version by  doxygen 1.3.9.1