00001 00004 #ifndef __EQUIVALENT_UNION_FIND_HH__ 00005 #define __EQUIVALENT_UNION_FIND_HH__ 00006 00007 #include "equivalent.hh" 00008 00010 class equivalent_union_find: public equivalent 00011 { 00012 protected: 00013 // Pointor on the vertex dataset 00014 const vertex_data *v_data; 00015 public: 00017 equivalent_union_find(const vertex_data &v):v_data(&v) 00018 {} 00020 virtual ~equivalent_union_find() 00021 {} 00023 virtual bool lambda(int,vertex,vertex,dart,dart)=0; 00024 }; 00025 00026 #endif // __EQUIVALENT_UNION_FIND_HH__