$extrastylesheet
#include <mln/util/adjacency_matrix.hh>
Public Member Functions | |
adjacency_matrix_impl_selector (const V &nelements) | |
void | add (const V &e1, const V &e2) |
bool | are_adjacent (const V &e1, const V &e2) const |
void | clear () |
std::ostream & | print_data_ (std::ostream &ostr) const |
void | remove (const V &e1, const V &e2) |
Protected Attributes | |
adj_t | adj_ |
unsigned | nelements_ |
Public Types | |
typedef util::set < util::ord_pair< V > > | adj_t |
Definition at line 90 of file adjacency_matrix.hh.
mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::adjacency_matrix_impl_selector | ( | const V & | nelements | ) |
Constructor.
void mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::add | ( | const V & | e1, |
const V & | e2 | ||
) |
Make e1
and e2
adjacent.
bool mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::are_adjacent | ( | const V & | e1, |
const V & | e2 | ||
) | const |
Check whether e1
and e2
are adjacent.
void mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::clear | ( | ) |
Clear all adjacencies.
std::ostream& mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::print_data_ | ( | std::ostream & | ostr | ) | const |
Print data to std::out.
void mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::remove | ( | const V & | e1, |
const V & | e2 | ||
) |
Remove adjacency between e1
and e2
.
|
protected |
Definition at line 114 of file adjacency_matrix.hh.
|
protected |
Definition at line 117 of file adjacency_matrix.hh.
typedef util::set< util::ord_pair<V> > mln::util::internal::adjacency_matrix_impl_selector< V, metal::bool_< false > >::adj_t |
Data structure used to store adjacency information.
Definition at line 93 of file adjacency_matrix.hh.