Public Types | Public Member Functions | Public Attributes

mln::edge_to_color< I, V > Struct Template Reference

Get the value associated to a given edge. More...

Inheritance diagram for mln::edge_to_color< I, V >:
Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef edge_to_color< I, V > exact_t
typedef void mutable_result
typedef V result

Public Member Functions

 edge_to_color (const I &ima)
operator() (const unsigned &e) const

Public Attributes

ima_

Detailed Description

template<typename I, typename V>
struct mln::edge_to_color< I, V >

Get the value associated to a given edge.

Definition at line 100 of file demos/graph/region_adjacency_graph.cc.


Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< edge_to_color< I, V > >::category [inherited]

Reimplemented from mln::Function< edge_to_color< I, V > >.

Definition at line 126 of file function.hh.

typedef edge_to_color< I, V > mln::Object< edge_to_color< I, V > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< edge_to_color< I, V > >::mutable_result [inherited]

Definition at line 127 of file function.hh.

template<typename I , typename V >
typedef V mln::edge_to_color< I, V >::result

Definition at line 102 of file demos/graph/region_adjacency_graph.cc.


Constructor & Destructor Documentation

template<typename I , typename V >
mln::edge_to_color< I, V >::edge_to_color ( const I &  ima  )  [inline]

Definition at line 104 of file demos/graph/region_adjacency_graph.cc.


Member Function Documentation

template<typename I , typename V >
V mln::edge_to_color< I, V >::operator() ( const unsigned &  e  )  const [inline]

Member Data Documentation

template<typename I , typename V >
I mln::edge_to_color< I, V >::ima_