Commit graph

62 commits

Author SHA1 Message Date
kuepper
85a326c5e4 Adjust code to perform to C++ standard according to gcc-3.4
interpretation... (Have not compiled/checked/changed paradisEO.)

That is, the current code compiles with gcc-3.4 and the checks
(besides t-MGE1bit) all pass.
2004-12-23 15:29:07 +00:00
kuepper
73c97e6bfa update for sstream 2004-09-29 18:37:20 +00:00
okoenig
eac4f15bf0 Replaced top_builddir with top_srcdir 2004-09-26 09:47:06 +00:00
okoenig
6584747d3c Removing a "/" at the end of a comment 2004-09-26 09:45:59 +00:00
kuepper
51471804cd fix installation, dist-preparation 2004-09-22 18:18:31 +00:00
kuepper
5150bd4888 fix 'make dist', works now (besides ParadisEO). 2004-09-21 10:23:33 +00:00
kuepper
988e6a43ea *** empty log message *** 2004-09-20 15:50:00 +00:00
kuepper
6c7d888194 cleanup 2004-09-17 17:00:04 +00:00
kuepper
c8494642d5 Updated build-prcess to be completely under automake control.
For the tutorial the old Makefiles are saved as Makefile.simple in all
the respective directories.

Use generated config.h instead of command-line passing of preprocessor
flags.

Updated support files from current automake.
2004-09-17 16:53:31 +00:00
stevemadere
b0969cf3d4 Fixed a bug in mlp::net::load() that prevented loading of multiple nets
from the same stream.
2004-05-21 01:44:32 +00:00
stevemadere
7863168b69 Added weight perturbation operators to enable implementation of
exact GPROP-III algorithm.
2004-04-23 16:20:12 +00:00
stevemadere
3943287ad0 Made mlp::net::operator() a virtual function to allow for subclassing
with networks that transform their input or output.
2004-02-11 23:03:23 +00:00
stevemadere
250d31f904 Fixed some signed/unsigned conversion bugs 2004-02-10 22:33:30 +00:00
stevemadere
0a9f57e652 Fixed the string serialization operators (>>, <<) for neuron, layer,
and net so they actually work and added or fixed stream-source
constructors where appropriate.
2004-01-13 20:28:33 +00:00
stevemadere
4662677a5f Made it compile under gcc 3.2.2 by adding explicit definitions
of normally derived comparison operators >, >=, and == for the
structure phenotype.  ( adding #include <utility> was not sufficient
to solve the problem)
Also added function gprop_use_datasets() to give more flexibility
in subclassing the datasets used to train the nets.
2004-01-13 20:21:52 +00:00
evomarc
31aa0eedf7 Added the standard header - just a test of CVS in fact! 2004-01-13 03:35:27 +00:00
maartenkeijzer
07a3e56db1 eliminated gprop from the build until someone makes sure it builds under gcc-3.2 2003-03-20 20:00:38 +00:00
maartenkeijzer
153b80440c changed to using sstream 2003-02-28 16:49:19 +00:00
okoenig
86fa476c67 Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary. 2003-02-27 19:28:07 +00:00
jeggermo
07f2de55dc ramped half and half initialization has been added to eoParseTreeDepthInit 2002-05-09 15:43:01 +00:00
jeggermo
600b08a7f6 the gpsymreg code has been slightly altered to allow compilation using the
Intel C++ Compiler for Linux.

Other compilers should not be affected.

A slightly different makefile is needed
2002-02-04 14:28:00 +00:00
evomarc
ef0e071dc6 Removed comment after #endif (warning in gcc 1.96+) 2002-02-02 05:51:31 +00:00
evomarc
04ab952760 Added GNUPLOT protection for MSVC compiler 2001-12-05 06:54:38 +00:00
jeggermo
7abbf595f7 some template classes and functions which did not need
to be templates have been changed to normal classes and functions
with hard coded typed

This might help with M$VC++ 6.0 compatibility
2001-12-04 21:15:16 +00:00
evomarc
d491c193e2 Renamed mastermind.cc into mastermind.cpp for MSVC 2001-12-03 16:40:32 +00:00
evomarc
8847dc3c50 Renamed main.cc into main.cpp for MSVC 2001-12-03 16:38:52 +00:00
evomarc
08aae27088 Renamed gprop.cc into gprop.cpp for MSVC 2001-12-03 16:35:51 +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
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
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
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
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
375568853a checks for the existence of finite(x) and isinf(x) built into app/gpsymreg.
Linux gcc compilers have the 'macros ??' but solaris gcc does not
2001-06-29 12:15:15 +00:00
jeggermo
9242c84541 app/gpsymreg/Makefile added to configure.in 2001-06-28 15:03:53 +00:00
jeggermo
f41c5f2ff6 addition file for parameters for symreg gp 2001-06-28 14:39:36 +00:00
jeggermo
00c671f24c node.h containing Tree-node classes for symreg gp 2001-06-28 14:38:00 +00:00
jeggermo
f1b6eb5dd8 main.cc for symreg gp 2001-06-28 14:33:51 +00:00
jeggermo
0c1ab03704 gp symbolic regression trees added 2001-06-28 14:26:35 +00:00
jeggermo
9efdfa59f8 Symbolic Regression GP added app-dir 2001-06-28 14:11:04 +00:00
jeggermo
840717bea8 new Mutation operators for eoParseTree in src/gp/eoGpMutate.h
a symbolic regression example program added to the app-dir

configure.in and Makefile(s).am changed
2001-06-28 14:03:59 +00:00
maartenkeijzer
025eb736ee eoVector is back (eoFixedLength and eoVariableLength are gone)
Also: introducing eoRndGenerators.h for eoRndGenerator derived classes:

  eoNormalGenerator
  eoUniformGenerator
  eoBooleanGenerator
  eoNegExpGenerator

Note the suffix that are added to aid in determining what these classes do
2001-02-17 10:51:31 +00:00
maartenkeijzer
3a9b5a0e7e Well, what do you know, major commit.
Changed the signature of eoMon, eoBin and eoQuadOp to return a bool,
without invalidating fitness. Added a set of invalidators to take over
that job (see for instance eoSGA and eoSGATransform how this can transparantly used)

Derived eoState from eoFunctorStore (for convenience, from a design perspective this may sound wrong)

Added a wrap_op function that does the wrapping for you (see eoOpContainer how this made this functor
exceedingly less hairy). Checked all the tests removed the eoGeneric*Op family (not needed anymore)
and of course changed all the operators to reflect the change (and found a few that didn't
invalidate the fitness, thus really pointing out the advantage of the current approach)
2001-02-14 10:35:26 +00:00
evomarc
2796319a13 Added matermind in SUBDIRS 2001-02-10 05:36:50 +00:00
evomarc
0c1036617e Big change in eoGeneralOp interface: left out! 2001-02-09 05:52:44 +00:00
evomarc
a998ad0a41 Checking in the name changes in selection procedures.
This impacts on many files, creating new entries in src (the old ones are moved
to obsolete dir), modifying t-eoSymreg.cpp and t-eobin.cpp in test,
as well as gprop.cc and mastermind.cc in app dir (not to mention almost all
files in tutorial:-(
2001-01-05 05:42:08 +00:00
gustavoromero
a83da72b46 adding .deps 2000-12-11 09:28:40 +00:00
gustavoromero
a4dd409033 small change 2000-12-05 13:46:21 +00:00
gustavoromero
c22047df11 erasing comments 2000-12-04 19:26:19 +00:00