$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::util::adjacency_matrix< V > Class Template Reference

#include <mln/util/adjacency_matrix.hh>

Public Member Functions

const adj_thook_data_ () const
Constructors.
 adjacency_matrix ()
 adjacency_matrix (const V &nelements)

Detailed Description

template<typename V = def::coord>
class mln::util::adjacency_matrix< V >

A class of adjacency matrix.

Support low and high quantification value types. In case of low quantification value type, it uses an image2d to store adjacency information. In case of high quantification value type, it uses a util::set to store the adjacency information.

Definition at line 136 of file adjacency_matrix.hh.

Constructor & Destructor Documentation

template<typename V = def::coord>
mln::util::adjacency_matrix< V >::adjacency_matrix ( )

Default constructor.

template<typename V = def::coord>
mln::util::adjacency_matrix< V >::adjacency_matrix ( const V &  nelements)

Construct an adjacency matrix with nelements elements maximum.

Member Function Documentation

template<typename V = def::coord>
const adj_t& mln::util::adjacency_matrix< V >::hook_data_ ( ) const

Hook member used to retrieve the underlying data structure.