Début du nettoyage et verif de la doc
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1811 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
89638f5140
commit
c4b0699f53
25 changed files with 66 additions and 61 deletions
|
|
@ -38,18 +38,6 @@
|
|||
#include <EO.h>
|
||||
#include <eoFunctor.h>
|
||||
|
||||
// moComparator => comparer deux solutions
|
||||
// idée :
|
||||
// - eoComparator
|
||||
// - moComparator qui hérite de eoComparator ?
|
||||
// - moeoComparator qui hérite de eoComparator
|
||||
// idée J :
|
||||
// - eoComparator<TYPE> : eoBF <const TYPE & , const TYPE & , bool>
|
||||
// - eoSolComparator : eoComparator<EOT> ?
|
||||
// - moNeighborCompartor : : eoComparator<Neighbor>
|
||||
//
|
||||
// une instantiation possible !!
|
||||
|
||||
|
||||
/**
|
||||
* Comparator of two types
|
||||
|
|
@ -58,7 +46,13 @@ template< class T1, class T2 >
|
|||
class moComparator : public eoBF<const T1 & , const T2 & , bool>
|
||||
{
|
||||
public:
|
||||
virtual bool equals(const T1&, const T2&) = 0;
|
||||
|
||||
/**
|
||||
* @param _ref1 a reference on a variable of type T1
|
||||
* @param _ref2 a reference on a variable of type T2
|
||||
* @return true if _ref1 and _ref2 are equals
|
||||
*/
|
||||
virtual bool equals(const T1& _ref1, const T2& _ref2) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue