OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::proposal_gen::VectorViewNodeMap< G, VEC > Struct Template Reference

#include <intersection_based_inf.hxx>

+ Collaboration diagram for opengm::proposal_gen::VectorViewNodeMap< G, VEC >:

Public Types

typedef G::Node Key
 
typedef VEC::value_type Value
 
typedef VEC::reference Reference
 
typedef VEC::const_reference ConstReference
 

Public Member Functions

 VectorViewNodeMap (const G &g, VEC &vec)
 
Reference operator[] (const Key &key)
 
ConstReference operator[] (const Key &key) const
 

Detailed Description

template<class G, class VEC>
struct opengm::proposal_gen::VectorViewNodeMap< G, VEC >

Definition at line 139 of file intersection_based_inf.hxx.

Member Typedef Documentation

template<class G, class VEC>
typedef VEC::const_reference opengm::proposal_gen::VectorViewNodeMap< G, VEC >::ConstReference

Definition at line 144 of file intersection_based_inf.hxx.

template<class G, class VEC>
typedef G::Node opengm::proposal_gen::VectorViewNodeMap< G, VEC >::Key

Definition at line 141 of file intersection_based_inf.hxx.

template<class G, class VEC>
typedef VEC::reference opengm::proposal_gen::VectorViewNodeMap< G, VEC >::Reference

Definition at line 143 of file intersection_based_inf.hxx.

template<class G, class VEC>
typedef VEC::value_type opengm::proposal_gen::VectorViewNodeMap< G, VEC >::Value

Definition at line 142 of file intersection_based_inf.hxx.

Constructor & Destructor Documentation

template<class G, class VEC>
opengm::proposal_gen::VectorViewNodeMap< G, VEC >::VectorViewNodeMap ( const G &  g,
VEC &  vec 
)
inline

Definition at line 146 of file intersection_based_inf.hxx.

Member Function Documentation

template<class G, class VEC>
Reference opengm::proposal_gen::VectorViewNodeMap< G, VEC >::operator[] ( const Key key)
inline

Definition at line 152 of file intersection_based_inf.hxx.

template<class G, class VEC>
ConstReference opengm::proposal_gen::VectorViewNodeMap< G, VEC >::operator[] ( const Key key) const
inline

Definition at line 155 of file intersection_based_inf.hxx.