26 #ifndef MLN_GRAPH_ATTRIBUTE_CARD_HH
27 # define MLN_GRAPH_ATTRIBUTE_CARD_HH
35 # include <mln/core/concept/graph.hh>
36 # include <mln/util/array.hh>
55 # ifndef MLN_INCLUDE_ONLY
70 deja_vu_.resize(exact(g).v_nmax());
75 bool to_be_treated(
unsigned id)
76 {
return !deja_vu_[id]; }
78 void new_component_from_vertex(
unsigned id)
84 void process_vertex(
unsigned)
87 bool to_be_queued(
unsigned id)
88 {
return !deja_vu_[id]; }
90 void added_to_queue(
unsigned id)
103 util::array<bool> deja_vu_;
104 util::array<unsigned>
data;
109 # endif // ! MLN_INCLUDE_ONLY
119 #endif // ! MLN_GRAPH_ATTRIBUTE_CARD_HH