Commit graph

11 commits

Author SHA1 Message Date
Johann Dreo
161d137d50 Add templates types as members of the dual fitness 2013-06-21 09:51:25 +02:00
Johann Dreo
8340168ee8 BUGFIX: correct handling of initialization security in dual fitness
Remove the operator= overloads.
Represent badly initialized dual fitness by a "?" for the feasibility.
2013-06-20 13:48:28 +02:00
Johann Dreo
f8603acf3c bugfix: consider a dual fitness to be correctly initialized from a pair 2013-06-17 13:59:09 +02:00
Johann Dreo
eef624e3f6 Do not try to call dual stats on empty pop, print "?" instead 2013-06-13 16:25:00 +02:00
Johann Dreo
67e4bb01fd Use EOType as a ref to the template in stats 2013-06-13 14:45:51 +02:00
Johann Dreo
4af7f3d1bc Allow scalar init of dual fitness; add a pop splitter
Scalar init of a dual fitness is dangerous, thus adds an explicit security against use of a partially initialized
object.
Use the pop splitter in the dual stat switch and in the MOEO dual fitness assignment.
2013-06-13 09:48:39 +02:00
Johann Dreo
82ce471aef Add a warning in eoDualFitness comments 2013-06-11 13:28:51 +02:00
Johann Dreo
55a1783605 Use member arithmetic operators and friend stream operators in dual fitness 2013-06-11 09:23:16 +02:00
Johann Dreo
10ea97f78d More generic eoDualFitness
Allow an imitialization on a double only, BUT an assert fails if it is not 0.0
Remove friendship on operators, because there is two differerent templated classes declared later.
More operators with base types.
2013-06-07 17:32:30 +02:00
Johann Dreo
c9da01c70d Add missing arithmetic operators to eoDualFitness 2013-06-07 12:42:27 +02:00
quemy
8cd56f37db Migration from SVN 2012-08-30 11:30:11 +02:00
Renamed from branches/rc2.0/eo/src/eoDualFitness.h (Browse further)