#include <trws_subproblemsolver.hxx>
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< LabelType > | LabelingType |
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 LabelingType & | arg () |
void | FinalizeMove () |
Protected Member Functions | |
void | _Push () |
void | _SumUpBackwardEdges (UnaryFactor *u, LabelType fixedLabel) const |
void | _EstimateOptimalLabeling () |
Protected Attributes | |
LabelingType | _labeling |
UnaryFactor | _marginalsTemp |
Definition at line 301 of file trws_subproblemsolver.hxx.
typedef parent::Factor trws_base::MaxSumSolver< GM, ACC, InputIterator >::Factor |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 311 of file trws_subproblemsolver.hxx.
typedef parent::FactorProperties trws_base::MaxSumSolver< GM, ACC, InputIterator >::FactorProperties |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 312 of file trws_subproblemsolver.hxx.
typedef parent::IndexType trws_base::MaxSumSolver< GM, ACC, InputIterator >::IndexType |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 306 of file trws_subproblemsolver.hxx.
typedef parent::InputIteratorType trws_base::MaxSumSolver< GM, ACC, InputIterator >::InputIteratorType |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 308 of file trws_subproblemsolver.hxx.
typedef std::vector<LabelType> trws_base::MaxSumSolver< GM, ACC, InputIterator >::LabelingType |
Definition at line 309 of file trws_subproblemsolver.hxx.
typedef parent::LabelType trws_base::MaxSumSolver< GM, ACC, InputIterator >::LabelType |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 307 of file trws_subproblemsolver.hxx.
typedef DynamicProgramming<GM,ACC,InputIterator> trws_base::MaxSumSolver< GM, ACC, InputIterator >::parent |
Definition at line 304 of file trws_subproblemsolver.hxx.
typedef parent::UnaryFactor trws_base::MaxSumSolver< GM, ACC, InputIterator >::UnaryFactor |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 310 of file trws_subproblemsolver.hxx.
typedef parent::ValueType trws_base::MaxSumSolver< GM, ACC, InputIterator >::ValueType |
Reimplemented from trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 305 of file trws_subproblemsolver.hxx.
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.
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::_EstimateOptimalLabeling | ( | ) | [inline, protected] |
Definition at line 344 of file trws_subproblemsolver.hxx.
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.
void trws_base::MaxSumSolver< GM, ACC, InputIterator >::_SumUpBackwardEdges | ( | UnaryFactor * | u, | |
LabelType | fixedLabel | |||
) | const [inline, protected] |
Definition at line 895 of file trws_subproblemsolver.hxx.
const LabelingType& trws_base::MaxSumSolver< GM, ACC, InputIterator >::arg | ( | ) | [inline] |
Definition at line 330 of file trws_subproblemsolver.hxx.
MaxSumSolver< GM, ACC, InputIterator >::ValueType trws_base::MaxSumSolver< GM, ACC, InputIterator >::ComputeObjectiveValue | ( | ) | [inline, virtual] |
Implements trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 374 of file trws_subproblemsolver.hxx.
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.
LabelingType trws_base::MaxSumSolver< GM, ACC, InputIterator >::_labeling [protected] |
Definition at line 338 of file trws_subproblemsolver.hxx.
UnaryFactor trws_base::MaxSumSolver< GM, ACC, InputIterator >::_marginalsTemp [mutable, protected] |
Definition at line 339 of file trws_subproblemsolver.hxx.