* whitespace cleanup

This commit is contained in:
Caner Candan 2011-05-05 17:15:10 +02:00
commit 70e60a50d2
195 changed files with 1763 additions and 1873 deletions

View file

@ -1,4 +1,3 @@
The Evolving Distribution Objects framework (EDO) is a template-based,
ANSI-C++ evolutionary computation library which helps you to write your
own estimation of distribution algorithms.

View file

@ -25,4 +25,3 @@ Authors:
*/
#include "edo"

View file

@ -60,4 +60,3 @@ private:
};
#endif // !_edoBounderRng_h

View file

@ -38,4 +38,3 @@ public:
};
#endif // !_edoModifier_h

View file

@ -42,4 +42,3 @@ public:
};
#endif // !_edoModifierMass_h

View file

@ -44,4 +44,3 @@ public:
};
#endif // !_edoNormalMonoCenter_h

View file

@ -1,4 +1,3 @@
# NOTE: only add something here if it is really needed by EO
include(CheckIncludeFile)
@ -28,6 +27,3 @@ check_include_files(stdint.h "stdint.h" HAVE_STDINT_H)
# check is to be added to get the proper set of headers. Example :
#check_symbol_exists(asymbol "symbole.h" HAVE_SYMBOLE)

View file

@ -233,4 +233,3 @@ operates.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

View file

@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names:
Ty Coon, President of Vice
That's all there is to it!

View file

@ -39,4 +39,3 @@
* release 0.9.3z.1 (1. Oct. 2005)
- Support gcc-3.4 and gcc.4.x.
- Provide full automake/autoconf/configure support.

View file

@ -1,4 +1,3 @@
EO README FILE
=======================================================================

View file

@ -29,4 +29,3 @@ IF(NOT WIN32 OR CYGWIN)
ENDIF(NOT WIN32 OR CYGWIN)
######################################################################################

View file

@ -211,4 +211,3 @@ template<class T> T euclidean_distance(const std::vector<T>& v1,
//-----------------------------------------------------------------------------
#endif

View file

@ -36,4 +36,3 @@ SET_TARGET_PROPERTIES(gpsymreg PROPERTIES VERSION "${GPSYMREG_VERSION}")
TARGET_LINK_LIBRARIES(gpsymreg eo eoutils)
######################################################################################

View file

@ -225,4 +225,3 @@ class RegFitness: public eoEvalFunc< eoParseTree<FitnessType, Node> >
};
#endif

View file

@ -335,10 +335,3 @@ int main(int argc, char *argv[])
}

View file

@ -36,4 +36,3 @@ SET_TARGET_PROPERTIES(mastermind PROPERTIES VERSION "${MASTERMIND_VERSION}")
TARGET_LINK_LIBRARIES(mastermind eo eoutils)
######################################################################################

2
eo/config.guess vendored
View file

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-03-03'
timestamp='2011-05-05'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by

View file

@ -71,5 +71,3 @@
/* Define to `unsigned int' if <sys/types.h> does not define. */
#cmakedefine size_t

View file

@ -57,14 +57,3 @@
#include <boost/config/suffix.hpp>
#endif // BOOST_CONFIG_HPP

View file

@ -19,5 +19,3 @@
#ifdef BOOST_HAS_ABI_HEADERS
# include BOOST_ABI_SUFFIX
#endif

View file

@ -342,13 +342,3 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
#if defined(BOOST_AUTO_LINK_NOMANGLE)
# undef BOOST_AUTO_LINK_NOMANGLE
#endif

View file

@ -1,4 +1,3 @@
// (C) Copyright John maddock 1999.
// (C) David Abrahams 2002. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file

View file

@ -106,4 +106,3 @@ class eoAged: public Object
};
#endif EOAGE_H

View file

@ -33,7 +33,7 @@ using namespace std;
// eoDrawable
//-----------------------------------------------------------------------------
/** eoDrawable is a template class that adds a drawing interface to an object.\\
/** eoDrawable is a template class that adds a drawing interface to an object.
Requisites for template instantiation are that the object must admit a default ctor
and a copy ctor. The Object must be an eoObject, thus, it must have its methods: className,
eoDrawables can be drawn on any two-dimensional surface; it can be added to any
@ -61,4 +61,4 @@ class eoDrawable
};
#endif EODRAWABLE_H
#endif //! EODRAWABLE_H

View file

@ -429,5 +429,3 @@ int main()
std::cout << e.what() << std::endl;
}
}

View file

@ -14,6 +14,3 @@ double real_value(const std::vector<double>& _ind)
sum += _ind[i] * _ind[i];
return sum/_ind.size();
}

View file

@ -12,4 +12,3 @@ int main()
return 0;
}

View file

@ -1,4 +1,3 @@
#include <iostream>
#include <eoScalarFitness.h>
@ -123,6 +122,3 @@ int main(int argc, char* argv[]) {
cout << "Fitness achieved = " << pop[0].fitness() << endl;
cout << "Function evaluations = " << evals.value() << endl;
}

View file

@ -1,4 +1,3 @@
// to avoid long name warnings
#ifdef _MSC_VER
#pragma warning(disable:4786)

View file

@ -1,4 +1,3 @@
#include <utility>
#include <eo>
@ -87,4 +86,3 @@ int main()
exit(1);
}
}

View file

@ -72,4 +72,3 @@ main()
return 0;
}

View file

@ -100,4 +100,3 @@ int main()
return 0;
}

View file

@ -102,4 +102,3 @@ int main(){
return 0;
}

View file

@ -1,4 +1,3 @@
#include <eoInit.h>
#include <eoCounter.h>

View file

@ -1,4 +1,3 @@
#include <eo>
#include <es.h>
#include <utils/eoStat.h>
@ -66,4 +65,3 @@ int main()
exit(1);
}
}

View file

@ -1,4 +1,3 @@
#include <eoPop.h>
#include <EO.h>
#include <eoProportionalSelect.h>
@ -65,4 +64,3 @@ int main()
return test_select<eoStochasticUniversalSelect<TestEO> >();
}

View file

@ -1,4 +1,3 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@ -29,5 +28,3 @@ int main() {
return 0;
}

View file

@ -74,4 +74,3 @@ int main()
return 0;
}

View file

@ -87,4 +87,3 @@ int main()
}
//-----------------------------------------------------------------------------

View file

@ -14,4 +14,3 @@ double binary_value(const std::vector<bool>& _chrom)
sum += _chrom[i];
return sum;
}

View file

@ -15,6 +15,3 @@ double real_value(const std::vector<double>& _ind)
}
return -sum;
}

View file

@ -62,4 +62,3 @@ INSTALL(TARGETS SecondRealEA RUNTIME DESTINATION share/eo/examples/Lesson3 COMPO
INSTALL(TARGETS exercise3.1 RUNTIME DESTINATION share/eo/examples/Lesson3 COMPONENT examples)
######################################################################################

View file

@ -14,4 +14,3 @@ double binary_value(const std::vector<bool>& _chrom)
sum += _chrom[i];
return sum;
}

View file

@ -15,6 +15,3 @@ double real_value(const std::vector<double>& _ind)
}
return sum;
}

View file

@ -96,4 +96,3 @@ INSTALL(TARGETS RealEA RUNTIME DESTINATION share/eo/examples/Lesson4 COMPONENT e
INSTALL(TARGETS ESEA RUNTIME DESTINATION share/eo/examples/Lesson4 COMPONENT examples)
######################################################################################

View file

@ -1,4 +1,3 @@
###### General ######
# --help=0 # -h : Prints this message
# --stopOnUnknownParam=1 # Stop if unkown param entered

View file

@ -1,4 +1,3 @@
###### General ######
# --help=0 # -h : Prints this message
# --stopOnUnknownParam=1 # Stop if unkown param entered

View file

@ -14,6 +14,3 @@ double real_value(const std::vector<double>& _ind)
sum += _ind[i] * _ind[i];
return sqrt(sum);
}

View file

@ -108,4 +108,3 @@ private: // put all data here
};
#endif

View file

@ -60,4 +60,3 @@ private:
};
#endif

View file

@ -126,4 +126,3 @@ void run_ea(eoAlgo<eoOneMax<eoMinimizingFitness> >& _ga, eoPop<eoOneMax<eoMinimi
{
do_run(_ga, _pop);
}

View file

@ -49,4 +49,3 @@ INSTALL(TARGETS BinaryPSO RUNTIME DESTINATION share/eo/examples/Lesson6 COMPONEN
INSTALL(TARGETS RealPSO RUNTIME DESTINATION share/eo/examples/Lesson6 COMPONENT examples)
######################################################################################

View file

@ -10,4 +10,3 @@ systems. Any help is welcome!
Be patient ...
evoMarc

View file

@ -1,5 +1,3 @@
######################################################################################
### 1) Include the sources
######################################################################################
@ -45,4 +43,3 @@ ADD_EXECUTABLE(MyStructEA MyStructEA.cpp)
TARGET_LINK_LIBRARIES(MyStructEA eo eoutils ga es)
######################################################################################

View file

@ -1,5 +1,3 @@
######################################################################################
### 1) Main project config
######################################################################################

View file

@ -62,4 +62,3 @@ private:
};
#endif

View file

@ -115,4 +115,3 @@ private: // put all data here
};
#endif

View file

@ -55,4 +55,3 @@ private:
};
#endif

View file

@ -126,4 +126,3 @@ void run_ea(eoAlgo<eoMyStruct<eoMinimizingFitness> >& _ga, eoPop<eoMyStruct<eoMi
{
do_run(_ga, _pop);
}

View file

@ -61,4 +61,3 @@ private :
};
#endif