opengm::StaticSimpleDiscreteSpace< LABELS, I, L > Class Template Reference
[Space Types]

Discrete space in which all variables have the same number of labels. More...

#include <static_simplediscretespace.hxx>

Inheritance diagram for opengm::StaticSimpleDiscreteSpace< LABELS, I, L >:
Inheritance graph
[legend]
Collaboration diagram for opengm::StaticSimpleDiscreteSpace< LABELS, I, L >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef I IndexType
typedef L LabelType

Public Member Functions

 StaticSimpleDiscreteSpace ()
 StaticSimpleDiscreteSpace (const IndexType)
void assign (const IndexType)
template<class Iterator >
void assignDense (Iterator, Iterator)
IndexType addVariable (const LabelType)
IndexType numberOfVariables () const
LabelType numberOfLabels (const IndexType) const
bool isSimpleSpace () const

Detailed Description

template<size_t LABELS, class I = std::size_t, class L = std::size_t>
class opengm::StaticSimpleDiscreteSpace< LABELS, I, L >

Discrete space in which all variables have the same number of labels.

Definition at line 14 of file static_simplediscretespace.hxx.


Member Typedef Documentation

template<size_t LABELS, class I = std::size_t, class L = std::size_t>
typedef I opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::IndexType
template<size_t LABELS, class I = std::size_t, class L = std::size_t>
typedef L opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::LabelType

Constructor & Destructor Documentation

template<size_t LABELS, class I , class L >
opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::StaticSimpleDiscreteSpace (  )  [inline]

Definition at line 36 of file static_simplediscretespace.hxx.

template<size_t LABELS, class I , class L >
opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::StaticSimpleDiscreteSpace ( const IndexType  numberOfVariables  )  [inline]

Definition at line 42 of file static_simplediscretespace.hxx.


Member Function Documentation

template<size_t LABELS, class I , class L >
I opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::addVariable ( const  LabelType  )  [inline]
template<size_t LABELS, class I , class L >
void opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::assign ( const IndexType  numberOfVariables  )  [inline]

Definition at line 68 of file static_simplediscretespace.hxx.

template<size_t LABELS, class I , class L >
template<class Iterator >
void opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::assignDense ( Iterator  begin,
Iterator  end 
) [inline]
template<size_t LABELS, class I , class L >
bool opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::isSimpleSpace (  )  const [inline]
template<size_t LABELS, class I , class L >
StaticSimpleDiscreteSpace< LABELS, I, L >::LabelType opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::numberOfLabels ( const IndexType  dimension  )  const [inline]
template<size_t LABELS, class I , class L >
StaticSimpleDiscreteSpace< LABELS, I, L >::IndexType opengm::StaticSimpleDiscreteSpace< LABELS, I, L >::numberOfVariables (  )  const [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:11 2013 for OpenGM by  doxygen 1.6.3