00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef _COMPLEXITYINFO_H
00034 #define _COMPLEXITYINFO_H
00035
00036
00037 namespace Go {
00040
00041
00042
00045
00046 class ComplexityInfo {
00047 public:
00049 ComplexityInfo()
00050 {
00051 cone_overlap_ = min_box_overlap_ = -1.0;
00052 nmb_intpts_ = nmb_sing_intpts_ = 0;
00053 complex_ = false;
00054 }
00055
00057 ~ComplexityInfo() { }
00058
00061 void setConeOverlap(double overlap)
00062 { cone_overlap_ = overlap; }
00063
00066 double getConeOverlap()
00067 { return cone_overlap_; }
00068
00071 void setBoxOverlap(double overlap)
00072 { min_box_overlap_ = overlap; }
00073
00076 double getBoxOverlap()
00077 { return min_box_overlap_; }
00078
00081 void setNmbIntpts(int nmbpts)
00082 { nmb_intpts_ = nmbpts; }
00083
00086 int getNmbIntpts()
00087 { return nmb_intpts_; }
00088
00091 void setNmbSingpts(int nmbpts)
00092 { nmb_sing_intpts_ = nmbpts; }
00093
00096 int getNmbSingpts()
00097 { return nmb_sing_intpts_; }
00098
00100 void setComplex()
00101 { complex_ = true; }
00102
00105 bool isComplex()
00106 { return complex_; }
00107
00108 private:
00109 double cone_overlap_;
00110
00111 double min_box_overlap_;
00112
00113 int nmb_intpts_;
00114 int nmb_sing_intpts_;
00115 bool complex_;
00116
00117 };
00118
00119
00121 }
00122
00123
00124 #endif // _COMPLEXITYINFO_H
00125
00126