gconst.h

Go to the documentation of this file.
00001 #ifndef GCONST_H
00002 #define GCONST_H
00003 
00004 #include <string>
00005 #include <vector>
00006 
00007 using namespace std;
00008 
00009 /* this class is for constants that are used by group, and gstat class
00010  * this class is used as the super class, parent class
00011  * */
00012 
00013 class gconst {
00014         public:
00016         static vector<string> divisions;
00017 
00018         static void readconf(const string &gdf);
00019         //static int getdividx(divstat* ds) { return getdividx(ds->id); }
00020         static int getdividx(const string &div) { return getdividx(div.c_str()); }
00021         static int getdividx(const char *div);
00022         // the following methods are never used, they are not usefull
00023         // at all
00024         static void setAnchorOrder(const int a[]);
00025         static void showAnchorOrder(ostream &ou);
00026         // returns the index of division based on index
00027         static int anchorIndex(const int dividx);
00028 
00030         static string pivotdiv;
00031         static int pivotdividx;     // the index of pivotdiv in divisions
00032         static string queryDiv;
00033         static float csvStd;         // conserved standard deviation 0.1
00034         static float csvStdHighVar;  // conserved std of highVarDiv 0.2
00035         static string highVarDiv[2]; 
00036         static float csvIdentity;    // if mean identity > csvIdentity, it is 
00037         static vector<int> searchOrder;  // anchor search order
00038 };
00039 
00040 #endif

Generated on Wed Aug 10 11:56:49 2011 for Softwares from Orpara by  doxygen 1.5.6