00001
00004 #ifndef __COLOR_AND_BORDER_SET_HH__
00005 #define __COLOR_AND_BORDER_SET_HH__
00006
00007 #include "value_set.hh"
00008 #include "vertex_data_color.hh"
00009 #include "border_data_deriche.hh"
00010
00012 class color_and_border_set: public value_set
00013 {
00014 private:
00015
00016 vertex_data_color *v_data;
00017
00018 border_data_deriche *b_data;
00019
00020 public:
00021
00022 color_and_border_set(vertex_data_color &v, border_data_deriche &b):v_data(&v),b_data(&b)
00023 {}
00024
00026 void init(combi_map_base &);
00028 void contract_edge(int, dart, dart, vertex, vertex);
00030 void remove_empty_self_loops(dart, dart, vertex);
00032 void remove_double_edges(int, dart, dart);
00034 void update_vertex_set(int, vertex, vertex);
00035 };
00036
00037 #endif // __COLOR_AND_BORDER_SET_HH__