* 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>
|
||||
{
|
||||
public:
|
||||
void operator()(eoPop<POT> &,eoPop<POT> &_pop)
|
||||
void operator()(eoPop<POT> &,eoPop<POT> &/*_pop*/)
|
||||
{}
|
||||
}
|
||||
dummyEval;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
/** It returns 'true' only if the current number of generations modulo
|
||||
the period doen't equal to zero. */
|
||||
bool operator () (const eoPop <EOT> & pop)
|
||||
bool operator () (const eoPop <EOT> & /*pop*/)
|
||||
{
|
||||
return ((++ counter) % period) != 0 ;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ template <class EOT> class eoProportionalSelect: public eoSelectOne<EOT>
|
|||
{
|
||||
public:
|
||||
/// Sanity check
|
||||
eoProportionalSelect(const eoPop<EOT>& pop = eoPop<EOT>())
|
||||
eoProportionalSelect(const eoPop<EOT>& /*pop*/ = eoPop<EOT>())
|
||||
{
|
||||
if (minimizing_fitness<EOT>())
|
||||
throw std::logic_error("eoProportionalSelect: minimizing fitness");
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ private:
|
|||
{
|
||||
public:
|
||||
eoDummyFlight () {}
|
||||
void operator () (POT & _po) {}
|
||||
void operator () (POT & /*_po*/) {}
|
||||
}dummyFlight;
|
||||
|
||||
// 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.
|
||||
*/
|
||||
virtual void updateNeighborhood(POT & ,unsigned _indice){}
|
||||
virtual void updateNeighborhood(POT & ,unsigned /*_indice*/){}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue