trws_base::MaxSumSolver< GM, ACC, InputIterator > Class Template Reference

#include <trws_subproblemsolver.hxx>

Inheritance diagram for trws_base::MaxSumSolver< GM, ACC, InputIterator >:
Inheritance graph
[legend]
Collaboration diagram for trws_base::MaxSumSolver< GM, ACC, InputIterator >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef DynamicProgramming< GM,
ACC, InputIterator > 
parent
typedef parent::ValueType ValueType
typedef parent::IndexType IndexType
typedef parent::LabelType LabelType
typedef parent::InputIteratorType InputIteratorType
typedef std::vector< LabelTypeLabelingType
typedef parent::UnaryFactor UnaryFactor
typedef parent::Factor Factor
typedef parent::FactorProperties FactorProperties

Public Member Functions

 MaxSumSolver (typename parent::Storage &storage, const FactorProperties &factorProperties, bool fastComputations=true)
ValueType ComputeObjectiveValue ()
const LabelingTypearg ()
void FinalizeMove ()

Protected Member Functions

void _Push ()
void _SumUpBackwardEdges (UnaryFactor *u, LabelType fixedLabel) const
void _EstimateOptimalLabeling ()

Protected Attributes

LabelingType _labeling
UnaryFactor _marginalsTemp

Detailed Description

template<class GM, class ACC, class InputIterator>
class trws_base::MaxSumSolver< GM, ACC, InputIterator >

Definition at line 301 of file trws_subproblemsolver.hxx.


Member Typedef Documentation

template<class GM, class ACC, class InputIterator>
typedef parent::Factor trws_base::MaxSumSolver< GM, ACC, InputIterator >::Factor
template<class GM, class ACC, class InputIterator>
typedef parent::FactorProperties trws_base::MaxSumSolver< GM, ACC, InputIterator >::FactorProperties
template<class GM, class ACC, class InputIterator>
typedef parent::IndexType trws_base::MaxSumSolver< GM, ACC, InputIterator >::IndexType
template<class GM, class ACC, class InputIterator>
typedef parent::InputIteratorType trws_base::MaxSumSolver< GM, ACC, InputIterator >::InputIteratorType
template<class GM, class ACC, class InputIterator>
typedef std::vector<LabelType> trws_base::MaxSumSolver< GM, ACC, InputIterator >::LabelingType

Definition at line 309 of file trws_subproblemsolver.hxx.

template<class GM, class ACC, class InputIterator>
typedef parent::LabelType trws_base::MaxSumSolver< GM, ACC, InputIterator >::LabelType
template<class GM, class ACC, class InputIterator>
typedef DynamicProgramming<GM,ACC,InputIterator> trws_base::MaxSumSolver< GM, ACC, InputIterator >::parent

Definition at line 304 of file trws_subproblemsolver.hxx.

template<class GM, class ACC, class InputIterator>
typedef parent::UnaryFactor trws_base::MaxSumSolver< GM, ACC, InputIterator >::UnaryFactor
template<class GM, class ACC, class InputIterator>
typedef parent::ValueType trws_base::MaxSumSolver< GM, ACC, InputIterator >::ValueType

Constructor & Destructor Documentation

template<class GM, class ACC, class InputIterator>
trws_base::MaxSumSolver< GM, ACC, InputIterator >::MaxSumSolver ( typename parent::Storage storage,
const FactorProperties factorProperties,
bool  fastComputations = true 
) [inline]

Definition at line 315 of file trws_subproblemsolver.hxx.


Member Function Documentation

template<class GM , class ACC , class InputIterator >
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::_EstimateOptimalLabeling (  )  [inline, protected]

Definition at line 344 of file trws_subproblemsolver.hxx.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class GM , class ACC , class InputIterator >
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::_Push (  )  [inline, protected, virtual]

Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.

Definition at line 428 of file trws_subproblemsolver.hxx.

Here is the call graph for this function:

template<class GM , class ACC , class InputIterator >
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::_SumUpBackwardEdges ( UnaryFactor u,
LabelType  fixedLabel 
) const [inline, protected]

Definition at line 895 of file trws_subproblemsolver.hxx.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class GM, class ACC, class InputIterator>
const LabelingType& trws_base::MaxSumSolver< GM, ACC, InputIterator >::arg (  )  [inline]

Definition at line 330 of file trws_subproblemsolver.hxx.

template<class GM , class ACC , class InputIterator >
MaxSumSolver< GM, ACC, InputIterator >::ValueType trws_base::MaxSumSolver< GM, ACC, InputIterator >::ComputeObjectiveValue (  )  [inline, virtual]
template<class GM , class ACC , class InputIterator >
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::FinalizeMove (  )  [inline, virtual]

Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.

Definition at line 383 of file trws_subproblemsolver.hxx.

Here is the call graph for this function:


Member Data Documentation

template<class GM, class ACC, class InputIterator>
LabelingType trws_base::MaxSumSolver< GM, ACC, InputIterator >::_labeling [protected]

Definition at line 338 of file trws_subproblemsolver.hxx.

template<class GM, class ACC, class InputIterator>
UnaryFactor trws_base::MaxSumSolver< GM, ACC, InputIterator >::_marginalsTemp [mutable, protected]

Definition at line 339 of file trws_subproblemsolver.hxx.

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