opengm::SpaceBase< SPACE, I, L > Class Template Reference

Interface of label spaces. More...

#include <space_base.hxx>

Inheritance diagram for opengm::SpaceBase< SPACE, I, L >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef I IndexType
typedef L LabelType

Public Member Functions

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

Detailed Description

template<class SPACE, class I = std::size_t, class L = std::size_t>
class opengm::SpaceBase< SPACE, I, L >

Interface of label spaces.

Definition at line 15 of file space_base.hxx.


Member Typedef Documentation

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

Member Function Documentation

template<class SPACE , class I , class L >
SpaceBase< SPACE, I, L >::IndexType opengm::SpaceBase< SPACE, I, L >::addVariable ( const LabelType  numberOfLabels  )  [inline]
template<class SPACE , class I , class L >
template<class Iterator >
void opengm::SpaceBase< SPACE, I, L >::assignDense ( Iterator  begin,
Iterator  end 
) [inline]
template<class SPACE , class I , class L >
bool opengm::SpaceBase< SPACE, I, L >::isSimpleSpace (  )  const [inline]

Reimplemented in opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.

Definition at line 29 of file space_base.hxx.

Here is the call graph for this function:

template<class SPACE, class I = std::size_t, class L = std::size_t>
LabelType opengm::SpaceBase< SPACE, I, L >::numberOfLabels ( const   IndexType  )  const
template<class SPACE, class I = std::size_t, class L = std::size_t>
IndexType opengm::SpaceBase< SPACE, I, L >::numberOfVariables (  )  const
 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