Missing header and include guards for moeoBinaryMetricStat
This commit is contained in:
parent
0c82be47df
commit
6fa57622be
1 changed files with 35 additions and 0 deletions
|
|
@ -1,5 +1,38 @@
|
||||||
|
/*
|
||||||
|
|
||||||
|
(c) 2013 Thales group
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; version 2
|
||||||
|
of the License.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
Contact: http://eodev.sourceforge.net
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
Johann Dréo <johann.dreo@thalesgroup.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _MOEOBINARYMETRICSTAT_H_
|
||||||
|
#define _MOEOBINARYMETRICSTAT_H_
|
||||||
|
|
||||||
|
#include <eo>
|
||||||
|
|
||||||
|
/** A wrapper to save a moeoMetric in an eoStat
|
||||||
|
*
|
||||||
|
* This wrap a MOEO binary metric into an eoStat
|
||||||
|
* This is useful if you want to use it in a checkpoint, for instance.
|
||||||
|
*/
|
||||||
template <class MOEOT, class T = double>
|
template <class MOEOT, class T = double>
|
||||||
class moeoBinaryMetricStat : public eoStat<MOEOT, T>
|
class moeoBinaryMetricStat : public eoStat<MOEOT, T>
|
||||||
{
|
{
|
||||||
|
|
@ -57,3 +90,5 @@ protected:
|
||||||
bool _first_gen;
|
bool _first_gen;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // _MOEOBINARYMETRICSTAT_H_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue