Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

equivalent_cleaning.hh

Go to the documentation of this file.
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   // minimum size of the area
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__

Generated on Tue Jun 24 14:58:23 2003 for Combinatorial Pyramids by doxygen1.2.18