00001
00004 #ifndef __EQUIVALENT_CLEANING_HH__
00005 #define __EQUIVALENT_CLEANING_HH__
00006
00007 #include "equivalent_mont_jolion.hh"
00008 #include "border_data_deriche.hh"
00009 #include "vertex_data_color.hh"
00010
00012 class equivalent_cleaning: public equivalent_mont_jolion
00013 {
00014 private:
00015
00016 double size_threshold;
00017 public:
00019 equivalent_cleaning(const vertex_data_color &v, const border_data_deriche &b):equivalent_mont_jolion(v, b),size_threshold(10)
00020 {}
00022 bool lambda(int,vertex,vertex,dart,dart);
00025 double value(vertex);
00028 double interest(int,vertex,vertex,dart,dart);
00029
00030
00031 double give_size_threshold()
00032 {
00033 return size_threshold;
00034 }
00035 double set_size_threshold(const double &d)
00036 {
00037 return size_threshold=d;
00038 }
00039 };
00040
00041 #endif // __EQUIVALENT_PRESERVE_EDGE_HH__