Menu

[r20]: / 0.9.1 / src / Estremo.h  Maximize  Restore  History

Download this file

34 lines (27 with data), 746 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*! Filename: grunt.h
Created: June 22, 2011
Author: Ivan Erill <erill@umbc.edu>, Bob Forder <rforder1@umbc.edu>
*/
#ifndef GRUNT_H
#define GRUNT_H
#include <ctime>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "ObjectFactory.h"
#include "GenericOrganism.h"
#include "GenericSampler.h"
#include "GenericTranslator.h"
#include "GenericGA.h"
#include "Organism.h"
#include "Environment.h"
#include "Settings.h"
#include "random.h"
#define MAJOR_VER 0
#define MINOR_VER 9
#define REVISION 1
/* Helper functions */
int execute (Settings *cfg, FILE *out);
int findFittest (vector<GenericOrganism *> *myPopulation, double *fitness);
double avgIC (vector<GenericOrganism *> *myPopulation);
#endif