OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::Parameters< T, I > Class Template Reference

#include <parameters.hxx>

+ Inheritance diagram for opengm::Parameters< T, I >:
+ Collaboration diagram for opengm::Parameters< T, I >:

Public Types

typedef T ValueType
 
typedef I IndexType
 

Public Member Functions

 Parameters (const IndexType numberOfParameters=0)
 
ValueType getParameter (const size_t pi) const
 
void setParameter (const size_t pi, const ValueType value)
 
ValueType operator[] (const size_t pi) const
 
size_t numberOfParameters () const
 

Detailed Description

template<class T, class I>
class opengm::Parameters< T, I >

Definition at line 8 of file parameters.hxx.

Member Typedef Documentation

template<class T, class I>
typedef I opengm::Parameters< T, I >::IndexType

Definition at line 11 of file parameters.hxx.

template<class T, class I>
typedef T opengm::Parameters< T, I >::ValueType

Definition at line 10 of file parameters.hxx.

Constructor & Destructor Documentation

template<class T, class I>
opengm::Parameters< T, I >::Parameters ( const IndexType  numberOfParameters = 0)
inline

Definition at line 14 of file parameters.hxx.

Member Function Documentation

template<class T, class I>
ValueType opengm::Parameters< T, I >::getParameter ( const size_t  pi) const
inline

Definition at line 19 of file parameters.hxx.

+ Here is the caller graph for this function:

template<class T, class I>
size_t opengm::Parameters< T, I >::numberOfParameters ( ) const
inline

Definition at line 33 of file parameters.hxx.

template<class T, class I>
ValueType opengm::Parameters< T, I >::operator[] ( const size_t  pi) const
inline

Definition at line 29 of file parameters.hxx.

template<class T, class I>
void opengm::Parameters< T, I >::setParameter ( const size_t  pi,
const ValueType  value 
)
inline

Definition at line 24 of file parameters.hxx.