* commented unused function params
This commit is contained in:
parent
e851cc119b
commit
0d5bf295cb
5 changed files with 5 additions and 5 deletions
|
|
@ -129,7 +129,7 @@ private :
|
||||||
class eoDummyEval : public eoPopEvalFunc<POT>
|
class eoDummyEval : public eoPopEvalFunc<POT>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void operator()(eoPop<POT> &,eoPop<POT> &_pop)
|
void operator()(eoPop<POT> &,eoPop<POT> &/*_pop*/)
|
||||||
{}
|
{}
|
||||||
}
|
}
|
||||||
dummyEval;
|
dummyEval;
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ public:
|
||||||
|
|
||||||
/** It returns 'true' only if the current number of generations modulo
|
/** It returns 'true' only if the current number of generations modulo
|
||||||
the period doen't equal to zero. */
|
the period doen't equal to zero. */
|
||||||
bool operator () (const eoPop <EOT> & pop)
|
bool operator () (const eoPop <EOT> & /*pop*/)
|
||||||
{
|
{
|
||||||
return ((++ counter) % period) != 0 ;
|
return ((++ counter) % period) != 0 ;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ template <class EOT> class eoProportionalSelect: public eoSelectOne<EOT>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// Sanity check
|
/// Sanity check
|
||||||
eoProportionalSelect(const eoPop<EOT>& pop = eoPop<EOT>())
|
eoProportionalSelect(const eoPop<EOT>& /*pop*/ = eoPop<EOT>())
|
||||||
{
|
{
|
||||||
if (minimizing_fitness<EOT>())
|
if (minimizing_fitness<EOT>())
|
||||||
throw std::logic_error("eoProportionalSelect: minimizing fitness");
|
throw std::logic_error("eoProportionalSelect: minimizing fitness");
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ private:
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
eoDummyFlight () {}
|
eoDummyFlight () {}
|
||||||
void operator () (POT & _po) {}
|
void operator () (POT & /*_po*/) {}
|
||||||
}dummyFlight;
|
}dummyFlight;
|
||||||
|
|
||||||
// if the initializer does not need to be used, use the dummy one instead
|
// if the initializer does not need to be used, use the dummy one instead
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Update the neighborhood of the given particle.
|
* Update the neighborhood of the given particle.
|
||||||
*/
|
*/
|
||||||
virtual void updateNeighborhood(POT & ,unsigned _indice){}
|
virtual void updateNeighborhood(POT & ,unsigned /*_indice*/){}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Reference in a new issue