$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_ |
Public Types | |
| typedef image2d< bool > | adj_t |
Definition at line 59 of file adjacency_matrix.hh.
| mln::util::internal::adjacency_matrix_impl_selector< V, Q >::adjacency_matrix_impl_selector | ( | const V & | nelements | ) |
Constructor.
| void mln::util::internal::adjacency_matrix_impl_selector< V, Q >::add | ( | const V & | e1, |
| const V & | e2 | ||
| ) |
Make e1 and e2 adjacent.
| bool mln::util::internal::adjacency_matrix_impl_selector< V, Q >::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, Q >::clear | ( | ) |
Clear all adjacencies.
| std::ostream& mln::util::internal::adjacency_matrix_impl_selector< V, Q >::print_data_ | ( | std::ostream & | ostr | ) | const |
Print data to std::out.
| void mln::util::internal::adjacency_matrix_impl_selector< V, Q >::remove | ( | const V & | e1, |
| const V & | e2 | ||
| ) |
Remove adjacency between e1 and e2.
|
protected |
Definition at line 83 of file adjacency_matrix.hh.
| typedef image2d<bool> mln::util::internal::adjacency_matrix_impl_selector< V, Q >::adj_t |
Data structure used to store adjacency information.
Definition at line 62 of file adjacency_matrix.hh.