#include <card.hh>
Public Types | |
typedef util::array< unsigned > | result |
Type of the computed value. | |
Public Member Functions | |
void | added_to_queue (unsigned id) |
void | final () |
template<typename G> | |
void | init (const Graph< G > &g) |
void | new_component_from_vertex (unsigned id) |
void | next_component () |
void | process_vertex (unsigned) |
bool | to_be_queued (unsigned id) |
bool | to_be_treated (unsigned id) |
Public Attributes | |
unsigned | comp |
util::array< unsigned > | data |
util::array< bool > | deja_vu_ |
Definition at line 61 of file graph/attribute/card.hh.
typedef util::array<unsigned> mln::graph::attribute::card_t::result |
void mln::graph::attribute::card_t::added_to_queue | ( | unsigned | id | ) | [inline] |
void mln::graph::attribute::card_t::final | ( | ) | [inline] |
Definition at line 99 of file graph/attribute/card.hh.
void mln::graph::attribute::card_t::init | ( | const Graph< G > & | g | ) | [inline] |
Definition at line 67 of file graph/attribute/card.hh.
References comp, data, deja_vu_, mln::exact(), mln::util::array< T >::fill(), and mln::util::array< T >::resize().
void mln::graph::attribute::card_t::new_component_from_vertex | ( | unsigned | id | ) | [inline] |
Definition at line 78 of file graph/attribute/card.hh.
References mln::util::array< T >::append(), data, and deja_vu_.
void mln::graph::attribute::card_t::next_component | ( | ) | [inline] |
void mln::graph::attribute::card_t::process_vertex | ( | unsigned | ) | [inline] |
Definition at line 84 of file graph/attribute/card.hh.
bool mln::graph::attribute::card_t::to_be_queued | ( | unsigned | id | ) | [inline] |
bool mln::graph::attribute::card_t::to_be_treated | ( | unsigned | id | ) | [inline] |
unsigned mln::graph::attribute::card_t::comp |
Definition at line 102 of file graph/attribute/card.hh.
Referenced by added_to_queue(), init(), and next_component().
Definition at line 104 of file graph/attribute/card.hh.
Referenced by added_to_queue(), init(), and new_component_from_vertex().
Definition at line 103 of file graph/attribute/card.hh.
Referenced by added_to_queue(), init(), new_component_from_vertex(), to_be_queued(), and to_be_treated().