- Main Page
- Classes
- Files

- Search for |

# moeoMetric.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    00002
    00003 //-----------------------------------------------------------------------------
    00004 // moeoMetric.h
    00005 // (c) OPAC Team (LIFL), Dolphin Project (INRIA), 2006
    00006 /*
    00007     This library...
    00008
    00009     Contact: paradiseo-help@lists.gforge.inria.fr, http://paradiseo.gforge.inria.fr
    00010  */
    00011 //-----------------------------------------------------------------------------
    00012
    00013 #ifndef MOEOMETRIC_H_
    00014 #define MOEOMETRIC_H_
    00015
    00016 #include <eoFunctor.h>
    00017
    00021 class moeoMetric:public eoFunctorBase
    00022 {
    00023 };
    00024
    00025
    00029 template < class A, class R > class moeoUM:public eoUF < A, R >,
    00030   public moeoMetric
    00031 {
    00032 };
    00033
    00034
    00038 template < class A1, class A2, class R > class moeoBM:public eoBF < A1, A2, R >,
    00039   public moeoMetric
    00040 {
    00041 };
    00042
    00043
    00047 template < class EOT, class R, class EOFitness = typename EOT::Fitness > class moeoSolutionUM:public moeoUM <
    00048   const
    00049   EOFitness &,
    00050   R >
    00051 {
    00052 };
    00053
    00054
    00058 template < class EOT, class R, class EOFitness = typename EOT::Fitness > class moeoVectorUM:public moeoUM <
    00059   const
    00060   std::vector <
    00061 EOFitness > &,
    00062   R >
    00063 {
    00064 };
    00065
    00066
    00070 template < class EOT, class R, class EOFitness = typename EOT::Fitness > class moeoSolutionVsSolutionBM:public moeoBM <
    00071   const
    00072   EOFitness &, const
    00073   EOFitness &,
    00074   R >
    00075 {
    00076 };
    00077
    00078
    00082 template < class EOT, class R, class EOFitness = typename EOT::Fitness > class moeoVectorVsSolutionBM:public moeoBM <
    00083   const
    00084   std::vector <
    00085 EOFitness > &, const
    00086   EOFitness &,
    00087   R >
    00088 {
    00089 };
    00090
    00091
    00095 template < class EOT, class R, class EOFitness = typename EOT::Fitness > class moeoVectorVsVectorBM:public moeoBM <
    00096   const
    00097   std::vector <
    00098 EOFitness > &, const
    00099   std::vector <
    00100 EOFitness > &,
    00101   R >
    00102 {
    00103 };
    00104
    00105
    00106 #endif /*MOEOMETRIC_H_ */