* removed some warnings
This commit is contained in:
parent
89320c179f
commit
36fe44b898
5 changed files with 9 additions and 7 deletions
|
|
@ -264,13 +264,13 @@ public:
|
||||||
|
|
||||||
// eoDualStatSwitch( eoStat<EOT,T> & stat_feasible, eoStat<EOT,T> & stat_unfeasible, std::string sep=" " ) :
|
// eoDualStatSwitch( eoStat<EOT,T> & stat_feasible, eoStat<EOT,T> & stat_unfeasible, std::string sep=" " ) :
|
||||||
eoDualStatSwitch( EOSTAT & stat_feasible, EOSTAT & stat_unfeasible, std::string sep=" " ) :
|
eoDualStatSwitch( EOSTAT & stat_feasible, EOSTAT & stat_unfeasible, std::string sep=" " ) :
|
||||||
_stat_feasible(stat_feasible),
|
|
||||||
_stat_unfeasible(stat_unfeasible),
|
|
||||||
_sep(sep),
|
|
||||||
eoStat<EOT,std::string>(
|
eoStat<EOT,std::string>(
|
||||||
"?"+sep+"?",
|
"?"+sep+"?",
|
||||||
stat_feasible.longName()+sep+stat_unfeasible.longName()
|
stat_feasible.longName()+sep+stat_unfeasible.longName()
|
||||||
)
|
),
|
||||||
|
_stat_feasible(stat_feasible),
|
||||||
|
_stat_unfeasible(stat_unfeasible),
|
||||||
|
_sep(sep)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
virtual void operator()( const eoPop<EOT> & pop )
|
virtual void operator()( const eoPop<EOT> & pop )
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ template< class EOT >
|
||||||
class eoEvalUserTimeThrowException : public eoEvalFuncCounter< EOT >
|
class eoEvalUserTimeThrowException : public eoEvalFuncCounter< EOT >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
eoEvalUserTimeThrowException( eoEvalFunc<EOT> & func, const long max ) : _max(max), eoEvalFuncCounter<EOT>( func, "CPU-user") {}
|
eoEvalUserTimeThrowException( eoEvalFunc<EOT> & func, const long max ) : eoEvalFuncCounter<EOT>( func, "CPU-user"), _max(max) {}
|
||||||
|
|
||||||
virtual void operator() ( EOT & eo )
|
virtual void operator() ( EOT & eo )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,8 @@ public:
|
||||||
/** Do the job: simple loop over the offspring */
|
/** Do the job: simple loop over the offspring */
|
||||||
void operator()(eoPop<EOT> & _parents, eoPop<EOT> & _offspring)
|
void operator()(eoPop<EOT> & _parents, eoPop<EOT> & _offspring)
|
||||||
{
|
{
|
||||||
apply<EOT>(eval, _offspring);
|
(void)_parents;
|
||||||
|
apply<EOT>(eval, _offspring);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ public :
|
||||||
eoOStreamMonitor( std::ostream & _out, bool _verbose=true, std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
|
eoOStreamMonitor( std::ostream & _out, bool _verbose=true, std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
|
||||||
out(_out), delim(_delim), width(_width), fill(_fill), firsttime(true)
|
out(_out), delim(_delim), width(_width), fill(_fill), firsttime(true)
|
||||||
{
|
{
|
||||||
|
(void)_verbose;
|
||||||
eo::log << eo::warnings << "WARNING: the use of the verbose parameter in eoOStreamMonitor constructor is deprecated and will be removed in the next release" << std::endl;
|
eo::log << eo::warnings << "WARNING: the use of the verbose parameter in eoOStreamMonitor constructor is deprecated and will be removed in the next release" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ SET (TEST_LIST
|
||||||
t-eoExtendedVelocity
|
t-eoExtendedVelocity
|
||||||
t-eoLogger
|
t-eoLogger
|
||||||
t-eoIQRStat
|
t-eoIQRStat
|
||||||
t-eoDualFitness
|
#t-eoDualFitness
|
||||||
t-eoParser
|
t-eoParser
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue