Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.
This commit is contained in:
parent
6441ea1ec3
commit
86fa476c67
263 changed files with 2009 additions and 1976 deletions
|
|
@ -5,6 +5,8 @@ typedef eoBit <double> Indi; // A bitstring with fitness double
|
|||
|
||||
#include "binary_value.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void main_function(int argc, char ** argv) {
|
||||
|
||||
// Some parameters ...
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ typedef eoBit <double> Indi; // A bitstring with fitness double
|
|||
|
||||
#include "binary_value.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void main_function(int argc, char ** argv) {
|
||||
|
||||
// Some parameters ...
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ typedef eoBit <double> Indi; // A bitstring with fitness double
|
|||
|
||||
#include "binary_value.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void main_function(int argc, char ** argv) {
|
||||
|
||||
// Some parameters ...
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
@param _chrom A binary chromosome
|
||||
*/
|
||||
// INIT
|
||||
double binary_value(const vector<bool>& _chrom)
|
||||
double binary_value(const std::vector<bool>& _chrom)
|
||||
{
|
||||
double sum = 0;
|
||||
for (unsigned i = 0; i < _chrom.size(); i++)
|
||||
|
|
|
|||
Reference in a new issue