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

#include <intersection_based_inf.hxx>

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

Public Types

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

Public Member Functions

 VectorViewEdgeMap (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::VectorViewEdgeMap< G, VEC >

Definition at line 114 of file intersection_based_inf.hxx.

Member Typedef Documentation

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

Definition at line 119 of file intersection_based_inf.hxx.

template<class G, class VEC>
typedef G::Edge opengm::proposal_gen::VectorViewEdgeMap< G, VEC >::Key

Definition at line 116 of file intersection_based_inf.hxx.

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

Definition at line 118 of file intersection_based_inf.hxx.

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

Definition at line 117 of file intersection_based_inf.hxx.

Constructor & Destructor Documentation

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

Definition at line 121 of file intersection_based_inf.hxx.

Member Function Documentation

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

Definition at line 127 of file intersection_based_inf.hxx.

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

Definition at line 130 of file intersection_based_inf.hxx.