Public Member Functions

mln::util::adjacency_matrix< V > Class Template Reference
[Utilities]

A class of adjacency matrix. More...

#include <adjacency_matrix.hh>

Inherits adjacency_matrix_impl_selector< V, mln::metal::equal< mln::trait::value_< V >::quant, trait::value::quant::low >::eval >.

List of all members.

Public Member Functions

 adjacency_matrix ()
 Constructors.
 adjacency_matrix (const V &nelements)
 Construct an adjacency matrix with nelements elements maximum.

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 >
mln::util::adjacency_matrix< V >::adjacency_matrix (  ) 

Constructors.

@{

Default

Definition at line 308 of file adjacency_matrix.hh.

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

Construct an adjacency matrix with nelements elements maximum.

Definition at line 315 of file adjacency_matrix.hh.