replace TODO comments by @ŧodo doxygen command
This commit is contained in:
parent
91c1697701
commit
4310aaf5cc
10 changed files with 13 additions and 12 deletions
|
|
@ -109,7 +109,7 @@ public :
|
|||
}
|
||||
|
||||
bool changed = false;
|
||||
for ( unsigned i = 0; i < k; i++ ) // TODO: check that we don't do twice the same
|
||||
for ( unsigned i = 0; i < k; i++ ) //! @todo check that we don't do twice the same
|
||||
{
|
||||
unsigned where = eo::rng.random(_eo1.size());
|
||||
bool changedHere = op( _eo1[where], _eo2[where] );
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ public :
|
|||
}
|
||||
|
||||
bool changed = false;
|
||||
for ( unsigned i = 0; i < k; i++ ) // TODO: check that we don't do twice the same
|
||||
for ( unsigned i = 0; i < k; i++ ) //! @todo check that we don't do twice the same
|
||||
{
|
||||
unsigned where = eo::rng.random(_eo1.size());
|
||||
bool changedHere = op( _eo1[where], _eo2[where] );
|
||||
|
|
|
|||
|
|
@ -113,6 +113,6 @@ class eoSTLBF : public std::binary_function<A1, A2, R>
|
|||
eoBF<A1, A2, R>& f;
|
||||
};
|
||||
|
||||
// TODO: put automated wrappers here...
|
||||
//! @todo: put automated wrappers here...
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ public :
|
|||
} while ( ( (tmp1.size()<Min) || (tmp2.size()<Min) ||
|
||||
(tmp1.size()>Max) || (tmp2.size()>Max) )
|
||||
&& (index<10000) );
|
||||
// FIXME bad hardcoded limit, should use an algorithm that guarantee a correct size in a finite number of tries
|
||||
//! @todo FIXME bad hardcoded limit, should use an algorithm that guarantee a correct size in a finite number of tries
|
||||
if (index >= 10000)
|
||||
{
|
||||
eo::log << eo::warnings << "Warning: impossible to generate individual of the right size in 10000 trials" << std::endl;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
/// TODO, handle bounds
|
||||
/// @todo handle bounds
|
||||
template <class FitT>
|
||||
class eoCMABreed : public eoBreed< eoVector<FitT, double> > {
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <eoVector.h>
|
||||
#include <es/CMAState.h>
|
||||
|
||||
/// TODO, handle bounds
|
||||
/// @todo handle bounds
|
||||
template <class FitT>
|
||||
class eoCMAInit : public eoInit< eoVector<FitT, double> > {
|
||||
|
||||
|
|
|
|||
|
|
@ -181,9 +181,9 @@ template <class T> class parse_tree
|
|||
class subtree
|
||||
{
|
||||
|
||||
/*
|
||||
/**
|
||||
a bit nasty way to use a pool allocator (which would otherwise use slooow new and delete)
|
||||
TODO: use the std::allocator interface
|
||||
@todo use the std::allocator interface
|
||||
*/
|
||||
|
||||
#if (defined(__GNUC__) || defined(_MSC_VER)) && !(defined(_MT) || defined(MACOSX) || defined(__APPLE__)) // not multithreaded (or MACOSX - J. Eggermont)
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ Assumes that the parameters that are passed to the monitor
|
|||
A dir is created and one file per snapshot is created there -
|
||||
so you can later generate a movie!
|
||||
|
||||
TODO: The counter is handled internally, but this should be changed
|
||||
@todo The counter is handled internally, but this should be changed
|
||||
so that you can pass e.g. an evalcounter (minor)
|
||||
|
||||
I failed to templatize everything so that it can handle eoParam<std::vector<T> >
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ eoMonitor& eoOStreamMonitor::operator()(void)
|
|||
} // if firstime
|
||||
|
||||
// ok, now the real saving. write out
|
||||
/* TODO old verbose formatting, do we still need it?
|
||||
//! @todo old verbose formatting, do we still need it?
|
||||
/*
|
||||
for (iterator it = vec.begin (); it != vec.end (); ++it) {
|
||||
// name: value
|
||||
out << (*it)->longName () << ": " << (*it)->getValue () << std::endl;
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ pair<bool, string> eoParser::getValue(eoParam& _param) const
|
|||
result.first = true;
|
||||
return result;
|
||||
}
|
||||
// else (TODO: check environment, just long names)
|
||||
//! @todo check environment, just long names
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -210,7 +210,7 @@ void eoParser::readFrom(istream& is)
|
|||
string value;
|
||||
|
||||
if (equalLocation == str.end())
|
||||
{ // TODO: it should be the next string
|
||||
{ //! @todo it should be the next string
|
||||
value = "";
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Reference in a new issue