opengm::modelTrees< GM > Class Template Reference

#include <modelTrees.hxx>

Collaboration diagram for opengm::modelTrees< GM >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef GM GmType
typedef GM::ValueType ValueType
typedef GM::IndexType IndexType
typedef GM::LabelType LabelType
typedef GM::OperatorType OperatorType

Public Member Functions

 modelTrees (const GmType &)
IndexType numberOfTrees () const
IndexType treeOfVariable (IndexType i)
IndexType parentOfVariable (IndexType i)
IndexType treeOfRoot (IndexType i)
void roots (std::vector< IndexType > &)
void nodes (std::vector< std::vector< IndexType > > &)

Detailed Description

template<class GM>
class opengm::modelTrees< GM >

Definition at line 24 of file modelTrees.hxx.


Member Typedef Documentation

template<class GM >
typedef GM opengm::modelTrees< GM >::GmType

Definition at line 28 of file modelTrees.hxx.

template<class GM >
typedef GM::IndexType opengm::modelTrees< GM >::IndexType

Definition at line 30 of file modelTrees.hxx.

template<class GM >
typedef GM::LabelType opengm::modelTrees< GM >::LabelType

Definition at line 31 of file modelTrees.hxx.

template<class GM >
typedef GM::OperatorType opengm::modelTrees< GM >::OperatorType

Definition at line 32 of file modelTrees.hxx.

template<class GM >
typedef GM::ValueType opengm::modelTrees< GM >::ValueType

Definition at line 29 of file modelTrees.hxx.


Constructor & Destructor Documentation

template<class GM >
opengm::modelTrees< GM >::modelTrees ( const GmType gm  )  [inline]

Definition at line 57 of file modelTrees.hxx.


Member Function Documentation

template<class GM >
void opengm::modelTrees< GM >::nodes ( std::vector< std::vector< IndexType > > &  nodes  )  [inline]

Definition at line 154 of file modelTrees.hxx.

Here is the call graph for this function:

template<class GM >
GM::IndexType opengm::modelTrees< GM >::numberOfTrees (  )  const [inline]

Definition at line 108 of file modelTrees.hxx.

template<class GM >
GM::IndexType opengm::modelTrees< GM >::parentOfVariable ( IndexType  i  )  [inline]

Definition at line 143 of file modelTrees.hxx.

template<class GM >
void opengm::modelTrees< GM >::roots ( std::vector< IndexType > &  roots  )  [inline]

Definition at line 129 of file modelTrees.hxx.

template<class GM >
GM::IndexType opengm::modelTrees< GM >::treeOfRoot ( IndexType  i  )  [inline]

Definition at line 166 of file modelTrees.hxx.

Here is the call graph for this function:

template<class GM >
GM::IndexType opengm::modelTrees< GM >::treeOfVariable ( IndexType  i  )  [inline]

Definition at line 114 of file modelTrees.hxx.

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:13 2013 for OpenGM by  doxygen 1.6.3