Fix using directives for gcc-4.1
This commit is contained in:
parent
929974805d
commit
10d582b31d
19 changed files with 86 additions and 85 deletions
|
|
@ -47,7 +47,7 @@ class eoAssembledFitnessAverageStat : public eoStat<EOT, double>
|
|||
{
|
||||
public :
|
||||
|
||||
using eoAssembledFitnessAverageStat< EOT >::value;
|
||||
using eoStat<EOT, double>::value;
|
||||
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ class eoAssembledFitnessBestStat : public eoStat<EOT, double>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoAssembledFitnessBestStat< EOT >::value;
|
||||
using eoStat<EOT, double>::value;
|
||||
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class eoFDCStat : public eoStat<EOT, double>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoFDCStat < EOT>::value;
|
||||
using eoStat<EOT, double>::value;
|
||||
|
||||
/** Ctor without the optimum */
|
||||
eoFDCStat(eoDistance<EOT> & _dist, std::string _description = "FDC") :
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class eoFitnessStat : public eoSortedStat<EOT, std::vector<FitT> >
|
|||
{
|
||||
public :
|
||||
|
||||
using eoFitnessStat< EOT, FitT >::value;
|
||||
using eoSortedStat<EOT, std::vector<FitT> >::value;
|
||||
|
||||
eoFitnessStat(std::string _description = "AllFitnesses") :
|
||||
eoSortedStat<EOT,std::vector<FitT> >(std::vector<FitT>(0), _description) {}
|
||||
|
|
@ -67,7 +67,7 @@ class eoMOFitnessStat : public eoSortedStat<EOT, std::vector<PartFitT> >
|
|||
{
|
||||
public:
|
||||
|
||||
using eoMOFitnessStat< EOT, PartFitT >::value;
|
||||
using eoSortedStat<EOT, std::vector<PartFitT> >::value;
|
||||
|
||||
/** Ctor: say what component you want
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class eoPopStat : public eoStat<EOT, std::string>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoPopStat< EOT>::value;
|
||||
using eoStat<EOT, std::string>::value;
|
||||
|
||||
/** default Ctor, void std::string by default, as it appears
|
||||
on the description line once at beginning of evolution. and
|
||||
|
|
@ -97,7 +97,7 @@ class eoSortedPopStat : public eoSortedStat<EOT, std::string>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoSortedPopStat< EOT>::value;
|
||||
using eoSortedStat<EOT, std::string>::value;
|
||||
|
||||
/** default Ctor, void std::string by default, as it appears on
|
||||
the description line once at beginning of evolution. and is
|
||||
|
|
|
|||
|
|
@ -38,13 +38,13 @@ class eoScalarFitnessStat : public eoSortedStat<EOT, std::vector<double> >
|
|||
{
|
||||
public:
|
||||
|
||||
using eoScalarFitnessStat< EOT, FitT >::value;
|
||||
using eoSortedStat<EOT, std::vector<double> >::value;
|
||||
|
||||
eoScalarFitnessStat(std::string _description = "FitnessES",
|
||||
eoRealVectorBounds & _bounds = eoDummyVectorNoBounds) :
|
||||
eoSortedStat<EOT, std::vector<double> >(std::vector<double>(0), _description) ,
|
||||
range(*_bounds[0])
|
||||
{}
|
||||
eoRealVectorBounds & _bounds = eoDummyVectorNoBounds)
|
||||
: eoSortedStat<EOT, std::vector<double> >(std::vector<double>(0), _description),
|
||||
range(*_bounds[0])
|
||||
{}
|
||||
|
||||
virtual void operator()(const std::vector<const EOT*>& _popPters)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ template <class EOT> class eoAverageStat : public eoStat<EOT, typename EOT::Fitn
|
|||
{
|
||||
public :
|
||||
|
||||
using eoAverageStat< EOT >::value;
|
||||
using eoStat<EOT, typename EOT::Fitness>::value;
|
||||
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ class eoSecondMomentStats : public eoStat<EOT, std::pair<double, double> >
|
|||
{
|
||||
public :
|
||||
|
||||
using eoSecondMomentStats< EOT >::value;
|
||||
using eoStat<EOT, std::pair<double, double> >::value;
|
||||
|
||||
typedef typename EOT::Fitness fitness_type;
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ class eoNthElementFitnessStat : public eoSortedStat<EOT, typename EOT::Fitness >
|
|||
#endif
|
||||
{
|
||||
public :
|
||||
using eoNthElementFitnessStat< EOT >::value;
|
||||
using eoSortedStat<EOT, typename EOT::Fitness >::value;
|
||||
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
||||
|
|
@ -318,7 +318,7 @@ class eoBestFitnessStat : public eoStat<EOT, typename EOT::Fitness>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoBestFitnessStat< EOT >::value;
|
||||
using eoStat<EOT, typename EOT::Fitness>::value;
|
||||
|
||||
typedef typename EOT::Fitness Fitness;
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ class eoIncrementorParam : public eoUpdater, public eoValueParam<T>
|
|||
{
|
||||
public:
|
||||
|
||||
using eoIncrementorParam< T >::value;
|
||||
using eoValueParam<T>::value;
|
||||
|
||||
/** Default Ctor : a name and optionally an increment*/
|
||||
eoIncrementorParam( std::string _name, T _stepsize = 1) :
|
||||
|
|
|
|||
Reference in a new issue