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

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

#include <simplediscretespace.hxx>

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

List of all members.

Public Types

typedef I IndexType
typedef L LabelType

Public Member Functions

 SimpleDiscreteSpace ()
 SimpleDiscreteSpace (const IndexType, const LabelType)
void assign (const IndexType, const LabelType)
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<class I = std::size_t, class L = std::size_t>
class opengm::SimpleDiscreteSpace< I, L >

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

Examples:

grid_potts.cxx, interpixel_boundary_segmentation.cxx, markov-chain.cxx, one_to_one_matching.cxx, and space_types.cxx.

Definition at line 14 of file simplediscretespace.hxx.


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class I , class L >
opengm::SimpleDiscreteSpace< I, L >::SimpleDiscreteSpace (  )  [inline]

Definition at line 36 of file simplediscretespace.hxx.

template<class I , class L >
opengm::SimpleDiscreteSpace< I, L >::SimpleDiscreteSpace ( const IndexType  numberOfVariables,
const LabelType  numberOfLabels 
) [inline]

Definition at line 44 of file simplediscretespace.hxx.


Member Function Documentation

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

Definition at line 73 of file simplediscretespace.hxx.

template<class I , class L >
template<class Iterator >
void opengm::SimpleDiscreteSpace< I, L >::assignDense ( Iterator  begin,
Iterator  end 
) [inline]
template<class I , class L >
bool opengm::SimpleDiscreteSpace< I, L >::isSimpleSpace (  )  const [inline]
template<class I , class L >
SimpleDiscreteSpace< I, L >::LabelType opengm::SimpleDiscreteSpace< I, L >::numberOfLabels ( const IndexType  dimension  )  const [inline]
template<class I , class L >
SimpleDiscreteSpace< I, L >::IndexType opengm::SimpleDiscreteSpace< 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