gentypes.h

Go to the documentation of this file.
00001 #ifndef GENTYPE_H
00002 #define GENTYPE_H
00003 #include <vector>
00004 #include "VecMat.h"
00005 #include <boost/function.hpp>
00006 #include <map>
00007 
00008 namespace gplib
00009   {
00010     /** \addtogroup gainv Genetic algorithm optimization */
00011     /* @{ */
00012 
00013     /*! /file Here we define some common types that are used throughout the genetic algorithm classes
00014      */
00015     namespace ublas = boost::numeric::ublas;
00016 
00017     typedef ublas::vector<double> tprobabilityv;
00018     typedef ublas::vector<double> tmisfit;
00019     typedef ublas::vector<double> tdata;
00020     typedef ublas::vector<double> tcrowddistv;
00021     typedef ublas::vector<double> ttranscribed;
00022     typedef ublas::vector<bool> tpopmember;
00023     typedef ublas::vector<double> tfitvec;
00024     typedef gplib::rmat tfitmat;
00025     typedef gplib::rmat tpopulation;
00026     typedef std::vector<int> tindexv;
00027     typedef ublas::vector<int> tsizev;
00028     typedef std::multimap<double, int> tIndexMap;
00029     typedef boost::function<const tprobabilityv &()> tProbabilityFunction;
00030     typedef boost::function<const tcrowddistv &()> tDistanceFunction;
00031   /* @} */
00032   }
00033 #endif

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8