fix: doc and warnings
This commit is contained in:
parent
4d51fb8132
commit
ee5e1a36f6
5 changed files with 10 additions and 5 deletions
|
|
@ -29,7 +29,11 @@ Authors:
|
|||
|
||||
#include "eoContinue.h"
|
||||
|
||||
/** @defgroup Reset Algorithms operating a reset of some sort (e.g. on the population). */
|
||||
/** @defgroup Reset
|
||||
*
|
||||
* Algorithms operating a reset of some sort.
|
||||
* (e.g. on the population).
|
||||
*/
|
||||
|
||||
/** A semantic layer indicating that the derived operator operates a reset of some sort.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ template <class EOT>
|
|||
eoEsChromInit<EOT> & do_make_genotype(eoParser& _parser, eoState& _state, EOT)
|
||||
{
|
||||
// the fitness type
|
||||
typedef typename EOT::Fitness FitT;
|
||||
// typedef typename EOT::Fitness FitT;
|
||||
eoEsChromInit<EOT> *init;
|
||||
|
||||
// for eoReal, only thing needed is the size - but might have been created elswhere ...
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
*/
|
||||
|
||||
template <class EOT>
|
||||
eoGenOp<EOT> & do_make_op(eoParser& _parser, eoState& _state, eoInit<EOT>& _init)
|
||||
eoGenOp<EOT> & do_make_op(eoParser& _parser, eoState& _state, eoInit<EOT>& /*_init*/)
|
||||
{
|
||||
// this is a temporary version, while Maarten codes the full tree-structured
|
||||
// general operator input
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ eoParameterLoader::~eoParameterLoader()
|
|||
}
|
||||
|
||||
eoParser::eoParser ( unsigned _argc, char **_argv , string _programDescription,
|
||||
string _lFileParamName, char _shortHand) :
|
||||
string /*_lFileParamName*/, char /*_shortHand*/) :
|
||||
programName(_argv[0]),
|
||||
programDescription( _programDescription),
|
||||
needHelpMessage( false ),
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ eoRealBounds* eoGeneralRealBounds::getBoundsFromString(std::string _value)
|
|||
}
|
||||
|
||||
// now create the embedded eoRealBounds object
|
||||
eoRealBounds * locBound;
|
||||
eoRealBounds * locBound = nullptr;
|
||||
if (minBounded && maxBounded)
|
||||
{
|
||||
if (maxBound <= minBound)
|
||||
|
|
@ -255,5 +255,6 @@ eoRealBounds* eoGeneralRealBounds::getBoundsFromString(std::string _value)
|
|||
locBound = new eoRealAboveBound(maxBound);
|
||||
else if (minBounded && !maxBounded)
|
||||
locBound = new eoRealBelowBound(minBound);
|
||||
assert(locBound != nullptr);
|
||||
return locBound;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue