opengm::ViewFixVariablesFunction< GM > Class Template Reference
[Function Types]

#include <view_fix_variables_function.hxx>

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

List of all members.

Public Types

typedef GM::ValueType ValueType
typedef ValueType value_type
typedef GM::FactorType FactorType
typedef GM::OperatorType OperatorType
typedef GM::IndexType IndexType
typedef GM::LabelType LabelType

Public Member Functions

 ViewFixVariablesFunction ()
 ViewFixVariablesFunction (const FactorType &, const std::vector< PositionAndLabel< IndexType, LabelType > > &)
template<class POSITION_AND_TYPE_CONTAINER >
 ViewFixVariablesFunction (const FactorType &, const POSITION_AND_TYPE_CONTAINER &)
template<class Iterator >
ValueType operator() (Iterator begin) const
IndexType shape (const IndexType) const
IndexType dimension () const
IndexType size () const
template<class GM >
 ViewFixVariablesFunction (const typename ViewFixVariablesFunction< GM >::FactorType &factor, const std::vector< PositionAndLabel< typename GM::IndexType, typename GM::LabelType > > &positionAndLabels)
template<class POSITION_AND_TYPE_CONTAINER >
 ViewFixVariablesFunction (const typename ViewFixVariablesFunction< GM >::FactorType &factor, const POSITION_AND_TYPE_CONTAINER &positionAndLabels)
 constructor

Detailed Description

template<class GM>
class opengm::ViewFixVariablesFunction< GM >

Funcion that refers to a factor of another GraphicalModel in which some variables are fixed

Definition at line 22 of file view_fix_variables_function.hxx.


Member Typedef Documentation

template<class GM>
typedef GM::FactorType opengm::ViewFixVariablesFunction< GM >::FactorType

Definition at line 27 of file view_fix_variables_function.hxx.

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

Definition at line 29 of file view_fix_variables_function.hxx.

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

Definition at line 30 of file view_fix_variables_function.hxx.

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

Definition at line 28 of file view_fix_variables_function.hxx.

template<class GM>
typedef ValueType opengm::ViewFixVariablesFunction< GM >::value_type

Definition at line 26 of file view_fix_variables_function.hxx.

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

Definition at line 25 of file view_fix_variables_function.hxx.


Constructor & Destructor Documentation

template<class GM >
opengm::ViewFixVariablesFunction< GM >::ViewFixVariablesFunction (  )  [inline]

Definition at line 63 of file view_fix_variables_function.hxx.

template<class GM>
opengm::ViewFixVariablesFunction< GM >::ViewFixVariablesFunction ( const FactorType ,
const std::vector< PositionAndLabel< IndexType, LabelType > > &   
)
template<class GM>
template<class POSITION_AND_TYPE_CONTAINER >
opengm::ViewFixVariablesFunction< GM >::ViewFixVariablesFunction ( const FactorType ,
const POSITION_AND_TYPE_CONTAINER &   
) [inline]
template<class GM>
template<class GM >
opengm::ViewFixVariablesFunction< GM >::ViewFixVariablesFunction ( const typename ViewFixVariablesFunction< GM >::FactorType factor,
const std::vector< PositionAndLabel< typename GM::IndexType, typename GM::LabelType > > &  positionAndLabels 
) [inline]

Definition at line 73 of file view_fix_variables_function.hxx.

template<class GM>
template<class POSITION_AND_TYPE_CONTAINER >
opengm::ViewFixVariablesFunction< GM >::ViewFixVariablesFunction ( const typename ViewFixVariablesFunction< GM >::FactorType factor,
const POSITION_AND_TYPE_CONTAINER &  positionAndLabels 
) [inline]

constructor

Template Parameters:
POSITION_AND_TYPE_CONTAINER container holding positions and labels of the variable to fix
Parameters:
factor the factor to reference
positionAndLabels positions and labels of the variable to fix

Definition at line 108 of file view_fix_variables_function.hxx.


Member Function Documentation

template<class GM >
ViewFixVariablesFunction< GM >::IndexType opengm::ViewFixVariablesFunction< GM >::dimension (  )  const [inline]

Definition at line 175 of file view_fix_variables_function.hxx.

template<class GM >
template<class Iterator >
ViewFixVariablesFunction< GM >::ValueType opengm::ViewFixVariablesFunction< GM >::operator() ( Iterator  begin  )  const [inline]

Definition at line 139 of file view_fix_variables_function.hxx.

template<class GM>
IndexType opengm::ViewFixVariablesFunction< GM >::shape ( const   IndexType  )  const
template<class GM >
ViewFixVariablesFunction< GM >::IndexType opengm::ViewFixVariablesFunction< GM >::size (  )  const [inline]

Definition at line 183 of file view_fix_variables_function.hxx.

 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