Commit graph

671 commits

Author SHA1 Message Date
maartenkeijzer
ddb9e026cf Fixed call to inverse_stochastic inside eoDetTournament 2001-11-07 10:57:53 +00:00
evomarc
58f5fd2f61 Added method
eoParam* getParamWithLongName(std::string _name);
so now you can get a parameter in another place than where it was defined
just by giving its name
2001-11-05 16:38:52 +00:00
maartenkeijzer
aee6584cea Just some comments 2001-11-05 14:28:14 +00:00
evomarc
50fe1cb529 Small error in header 2001-11-05 08:24:59 +00:00
jeggermo
2d12525bc5 the name of the eoGpDepthInitializer class (initializer for
parse_tree's has been changed to

eoParseTreeDepthInit but backward compatibility is maintained by
using a #define statement:

#define eoGpDepthInitializer eoParseTreeDepthInit

The initializer for strongly typed GP has been changed to
eoStParseTreeDepthInit

the gpsymreg application has been changed to use the new name
2001-11-03 22:10:11 +00:00
jeggermo
4584fda53d Some changes for using EO with libstdc++V3 and gcc-3.01 2001-10-25 10:39:55 +00:00
jeggermo
0bbe7b84cb The nameless union in node.h has been removed because not all compilers
support it.
2001-10-19 12:04:12 +00:00
evomarc
5897d0062f Replaced pushd and popd with cd and cd .. - for Windows/Cygwin compatibility 2001-10-18 11:48:52 +00:00
jeggermo
7764554056 Some changes to make gpsymreg compile correctly on windows/cygwin systems 2001-10-18 08:52:40 +00:00
evomarc
af05dfacb9 Added MAXFLOAT and MINFLOAT as it seems that Cygwin needs that ??? 2001-10-18 05:30:45 +00:00
evomarc
95216ac671 iAdding a file config.cache as it seems that the defaults don't work
in Windows/Cygwin environement. Thanks to Sebastiao CORREIA and
Jerome JEAN-CHARLES for providing this file.
2001-10-18 04:57:30 +00:00
evomarc
f7377b0fcf All files on one line in Makefile.am (for Windows) 2001-10-18 04:37:14 +00:00
evomarc
26481ab36b Modified the Makefile.am in main dir, and Makefile in tutorial dir to remove
all pushd/popd as they don't exist in Windows/bash
2001-10-18 04:34:58 +00:00
evomarc
03308af599 Corrected a few small problems - including dependencies in Makefile
thanks to Sebastiao CORREIA for pointing them out
2001-10-17 17:49:54 +00:00
evomarc
11b3eabfca Corrected a few small problems -
thanks to Sebastiao CORREIA for pointing them out
2001-10-17 17:48:50 +00:00
evomarc
f2c21bdc0b Removed trailing text after #endif - causes warning on many compilers 2001-10-08 09:14:15 +00:00
jeggermo
7e885e8f8c ramped half and half initialization procedure for eoParseTree populations
added.
2001-10-05 12:39:30 +00:00
jeggermo
8f1af522a6 Since g++ 2.95.x on our solaris server doesn't have macros to check
for infinity and NaN these checks have been removed from the source code
and a protected divided function node is now used.
2001-10-05 09:32:49 +00:00
evomarc
30616fca42 Forgot to double also the parameter to initialize in the Ctor! 2001-10-05 03:56:21 +00:00
evomarc
f4efc65994 Modified the reseed method in RNG class so two different seeds give different
sequences, after Jeroen's remark (jeggermo@liacs.nl)
2001-10-05 03:51:15 +00:00
evomarc
653e64df09 Commented out the oeprator() default function in base class: I find it more secure
to be warned at compile time that one function is still pure virtual
than to look for the error after a run-time-error that gives no clue
2001-10-05 03:30:12 +00:00
evomarc
0847875339 eoMyStructEA.cpp has turned into MyStructEA.cpp 2001-10-04 20:13:03 +00:00
evomarc
f3db65795b Big modifications - now the init and most important the operators
are handled in separate files make_genotype_xxx and make_op_xxx
as it was done in the examples of Lesson4
2001-10-04 20:12:19 +00:00
evomarc
c34db3eb29 Suppressed most warning (except some unused variables) if you don't modify anything 2001-09-24 05:59:42 +00:00
evomarc
1d7b79b85a Suppressed most warning (except some unused variables) if you don't modify anythig 2001-09-24 05:59:13 +00:00
evomarc
d0d14c3ff8 Removed trailing string after #endif - it generates a lot of useless warning
on some versions of g++
2001-09-08 05:59:17 +00:00
evomarc
ed9dac2dfe Added newline at end of file (prevents a warning) 2001-09-08 05:42:24 +00:00
evomarc
37a138c81b Added include math.h 2001-09-08 05:41:19 +00:00
evomarc
7bbdd17307 Added many template files, and totally modified the comments in most other.
This was when preparing Evonet Summer School - though it finally was not used there!
2001-09-04 08:35:22 +00:00
evomarc
f69b785b39 Modified the className() method so that the Atom underlying operator is listed 2001-09-04 06:51:59 +00:00
evomarc
5fb8958b28 Included apply.h for consistency (though in most cases it was included from eo file 2001-09-04 06:50:42 +00:00
evomarc
861f11e153 Added a class that turns an eoInit<EOT> into a generator of EOT
Also added a Ctor of variable length objects that take an eoInit.
Some day we might want to clean all that stuff ... unless we leave
the choice to the user (but then the documentation shoudl be as clear
as glass, which it is not at the moment!)
2001-09-04 06:48:15 +00:00
evomarc
c352b19799 In case you are trying to assign a value to a vector of different size,
previous versions raised an exception.
Now a simple warning is written to stderr - as it might be something
you need to do.
2001-09-04 06:45:14 +00:00
evomarc
e79edcffe7 Added make_help in checkpointing, included stdexcept in eoParam. Comments
updates ...
2001-09-04 06:43:19 +00:00
evomarc
62dfe13c3a Spotted and commented (but NOT corrected :-( a bug in case the ResDir
exists and is empty
2001-09-04 06:41:34 +00:00
evomarc
4f642f848e Corrected wrong arguments for the 2D Ctor 2001-09-04 06:40:28 +00:00
evomarc
0f9f1cc3ea Comments update 2001-09-04 06:37:25 +00:00
evomarc
bb658f550c Changed the wrong #ifdef in make_algo_scalar (+ minor comments elsewhere) 2001-09-04 06:35:58 +00:00
jeggermo
af91557656 check for the existence of isinf didn't work the way it should so
it has been removed
2001-07-17 13:06:28 +00:00
jeggermo
21e42be6d3 small documentation change for eoParseTree.h.
added a depth initializer for strongly typed genetic programming
added subtree xover for strongly typed genetic programming
added branch mutation for strongly typed genetic programming
added point mutation for strongly typed genetic programming
added hoist mutation for strongly typed genetic programming
2001-07-17 08:58:52 +00:00
evomarc
6c969bfbce Suppressed the gene mutations, as they are now in eoFlOrMonOp.h 2001-07-11 06:26:11 +00:00
evomarc
7ac9996675 Oups! 2001-07-04 04:59:02 +00:00
evomarc
963683996d Adding eoPopEvalFunc, that handles evaluation globally: it receives
two populations, parents and offspring, and does whatever necessary.
The subclass eoPopLoopEval does the simple loop on the offspring.

eoEasyEA was subsequently modified to handle an eoPopEval passed in Ctor,
but also to encapsulate an eoEvalFunc into an eoPopLoopEval tranparently.
2001-07-04 04:44:30 +00:00
evomarc
88061395f1 Added the eoPopEvalFunc class: gets the full parents + offspring populations
in order to evaluate them.
Modified eoEaseyEA accordingly - you can either pass an eoEvalFunc, as
before (it is then encapsulated into an eoPopLoopEval that does the good
old loop on the offspring - or directly pass a full eoPopEvalFunc

Small modification also in make_op_es -> keyword "none" is now recognized
for one of the crossover of either object variables or stdev's
2001-07-03 12:56:44 +00:00
jeggermo
a611939e68 Changed the directory structure for gp
now: eoParseTree <-- the eoParseTree class
     eoParseTreeDepthInit <-- the eoParseTree depth initializer (eoGpDepthInitializer)
     eoParseTreeOp <-- the operators (xover and mutation)

base documentation written for:
* eoParseTree
* eoGpDepthInitializer
* eoSubtreeXOver
* eoBranchMutation
* eoPointMutation
* eoExpansionMutation
* eoCollapseSubtreeMutation
* eoHoistMutation

I also created a group ParseTree which contains all classes related to eoParseTree

eoGpMutate.h has been removed (merged with eoParseTree operators into eoParseTreeOp
2001-07-02 13:31:04 +00:00
jeggermo
402e34c238 The constructor for the eoGpDepthInitializer has been extended with a
sort of the initializor vector containing all possible nodes. This sort
assures that the terminals are in the front of vector. Untill now this
was assumed but not checked or enforced.
2001-07-02 11:38:27 +00:00
jeggermo
af726e9d9e eoSubtreeXOver fixed 2001-07-02 08:28:40 +00:00
evomarc
967670e2c7 Added random selection 2001-06-30 05:59:26 +00:00
evomarc
48a784d122 Corrected a wrong comment 2001-06-30 05:57:10 +00:00
maartenkeijzer
f674fbeb14 oops, thanks jeroen 2001-06-29 18:06:10 +00:00