Updated the src:: everywhere in eoVariableLengthCrossover.h eoFlOrMonOp.h

(that nobody seems to actually use btw :-)
This commit is contained in:
evomarc 2005-03-14 21:00:00 +00:00
commit a17e266c46
2 changed files with 6 additions and 16 deletions

View file

@ -65,12 +65,9 @@ public :
}
/** inherited className() */
virtual string className() const
virtual std::string className() const
{
char s[1024];
ostrstream os(s, 1022);
os << "eoFlOrAllMutation(" << atomMutation.className() << ")";
return string(s);
return "eoFlOrAllMutation(" + atomMutation.className() + ")";
}
private:
@ -107,12 +104,9 @@ public :
}
/** inherited className() */
virtual string className() const
virtual std::string className() const
{
char s[1024];
ostrstream os(s, 1022);
os << "eoFlOrKMutation(" << atomMutation.className() << ")" << ends;
return string(s);
return "eoFlOrKMutation(" + atomMutation.className() + ")";
}
private:

View file

@ -26,8 +26,6 @@
#ifndef _eoVariableLengthCrossover_h
#define _eoVariableLengthCrossover_h
#include <config.h>
#include <eoFunctor.h>
#include <eoOp.h>
@ -204,11 +202,9 @@ public :
virtual std::string className() const
{
char s[1024];
std::ostrstream os(s, 1022);
os << "eoInnerExchangeQuadOp(" << atomExchange.className() << ")" << std::ends;
return std::string(s);
return "eoInnerExchangeQuadOp(" + op.className() + ")";
}
private:
float rate;
eoQuadOp<AtomType> & op;