1 /**********************************************************************
2   ga_climbing.h
3  **********************************************************************
4 
5   ga_climbing - Hill climbing algorithms for comparison and search.
6   Copyright ©2002, 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:	Hill climbing algorithms for comparison and search.
29 
30  **********************************************************************/
31 
32 #ifndef GA_CLIMBING_H_INCLUDED
33 #define GA_CLIMBING_H_INCLUDED
34 
35 /*
36  * Includes.
37  */
38 #include "gaul.h"
39 
40 /*
41  * Prototypes.
42  */
43 FUNCPROTO void ga_population_set_hillclimbing_parameters(population *pop, GAmutate_allele mutate_allele);
44 FUNCPROTO int ga_next_ascent_hillclimbing(population *pop, entity *initial, const int max_iterations);
45 FUNCPROTO int ga_random_ascent_hillclimbing(population *pop, entity *initial, const int max_iterations);
46 
47 #endif	/* GA_CLIMBING_H_INCLUDED */
48 
49