1 /**********************************************************************
2   ga_de.h
3  **********************************************************************
4 
5   ga_de - Differential Evolution.
6   Copyright ©2005, Stewart Adcock <stewart@linux-domain.com>
7   All rights reserved.
8 
9   The latest version of this program should be available at:
10   http://gaul.sourceforge.net/
11 
12   This program is free software; you can redistribute it and/or modify
13   it under the terms of the GNU General Public License as published by
14   the Free Software Foundation; either version 2 of the License, or
15   (at your option) any later version.  Alternatively, if your project
16   is incompatible with the GPL, I will probably agree to requests
17   for permission to use the terms of any other license.
18 
19   This program is distributed in the hope that it will be useful, but
20   WITHOUT ANY WARRANTY WHATSOEVER.
21 
22   A full copy of the GNU General Public License should be in the file
23   "COPYING" provided with this distribution; if not, see:
24   http://www.gnu.org/
25 
26  **********************************************************************
27 
28   Synopsis:     Differential evolution.
29 
30  **********************************************************************/
31 
32 #ifndef GA_DE_H_INCLUDED
33 #define GA_DE_H_INCLUDED
34 
35 /*
36  * Includes.
37  */
38 #include "gaul.h"
39 
40 /*
41  * Prototypes.
42  */
43 
44 FUNCPROTO void ga_population_set_differentialevolution_parameters( population *pop,
45                                                          const ga_de_strategy_type strategy,
46                                                          const ga_de_crossover_type crossover,
47                                                          const int num_perturbed,
48                                                          const double weighting_min,
49                                                          const double weighting_max,
50                                                          const double crossover_factor );
51 FUNCPROTO int ga_differentialevolution(    population              *pop,
52 	        const int               max_generations );
53 
54 #endif	/* GA_DE_H_INCLUDED */
55 
56