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

View file

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