Interface of label spaces. More...
#include <space_base.hxx>
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 |
Interface of label spaces.
Definition at line 15 of file space_base.hxx.
typedef I opengm::SpaceBase< SPACE, I, L >::IndexType |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.
Definition at line 17 of file space_base.hxx.
typedef L opengm::SpaceBase< SPACE, I, L >::LabelType |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.
Definition at line 18 of file space_base.hxx.
SpaceBase< SPACE, I, L >::IndexType opengm::SpaceBase< SPACE, I, L >::addVariable | ( | const LabelType | numberOfLabels | ) | [inline] |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.
Definition at line 54 of file space_base.hxx.
void opengm::SpaceBase< SPACE, I, L >::assignDense | ( | Iterator | begin, | |
Iterator | end | |||
) | [inline] |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.
Definition at line 44 of file space_base.hxx.
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.
LabelType opengm::SpaceBase< SPACE, I, L >::numberOfLabels | ( | const | IndexType | ) | const |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.
IndexType opengm::SpaceBase< SPACE, I, L >::numberOfVariables | ( | ) | const |
Reimplemented in opengm::DiscreteSpace< I, L >, opengm::SimpleDiscreteSpace< I, L >, and opengm::StaticSimpleDiscreteSpace< LABELS, I, L >.