Discrete space in which all variables have the same number of labels. More...
#include <simplediscretespace.hxx>
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 |
Discrete space in which all variables have the same number of labels.
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.
typedef I opengm::SimpleDiscreteSpace< I, L >::IndexType |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 17 of file simplediscretespace.hxx.
typedef L opengm::SimpleDiscreteSpace< I, L >::LabelType |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 18 of file simplediscretespace.hxx.
opengm::SimpleDiscreteSpace< I, L >::SimpleDiscreteSpace | ( | ) | [inline] |
Definition at line 36 of file simplediscretespace.hxx.
opengm::SimpleDiscreteSpace< I, L >::SimpleDiscreteSpace | ( | const IndexType | numberOfVariables, | |
const LabelType | numberOfLabels | |||
) | [inline] |
Definition at line 44 of file simplediscretespace.hxx.
SimpleDiscreteSpace< I, L >::IndexType opengm::SimpleDiscreteSpace< I, L >::addVariable | ( | const LabelType | numberOfLabels | ) | [inline] |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 84 of file simplediscretespace.hxx.
void opengm::SimpleDiscreteSpace< I, L >::assign | ( | const IndexType | numberOfVariables, | |
const LabelType | numberOfLabels | |||
) | [inline] |
Definition at line 73 of file simplediscretespace.hxx.
void opengm::SimpleDiscreteSpace< I, L >::assignDense | ( | Iterator | begin, | |
Iterator | end | |||
) | [inline] |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 56 of file simplediscretespace.hxx.
bool opengm::SimpleDiscreteSpace< I, L >::isSimpleSpace | ( | ) | const [inline] |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 111 of file simplediscretespace.hxx.
SimpleDiscreteSpace< I, L >::LabelType opengm::SimpleDiscreteSpace< I, L >::numberOfLabels | ( | const IndexType | dimension | ) | const [inline] |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 103 of file simplediscretespace.hxx.
SimpleDiscreteSpace< I, L >::IndexType opengm::SimpleDiscreteSpace< I, L >::numberOfVariables | ( | ) | const [inline] |
Reimplemented from opengm::SpaceBase< SimpleDiscreteSpace< I, L >, I, L >.
Definition at line 96 of file simplediscretespace.hxx.