|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <trws_subproblemsolver.hxx>
Inheritance diagram for opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >:
Collaboration diagram for opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >:Public Member Functions | |
| SumProdSolver (Storage &storage, const FactorProperties &factorProperties, bool fastComputations=true) | |
| void | InitMove (ValueType rho) |
| void | InitMove (ValueType rho, MoveDirection movedirection) |
| ValueType | ComputeObjectiveValue () |
| ValueType | MoveBackGetDerivative () |
| ValueType | getDerivative () const |
| >makes MoveBack and returns derivative w.r.t. _smoothingValue More... | |
Public Member Functions inherited from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator > | |
| DynamicProgramming (Storage &storage, const FactorProperties &factorProperties, bool fastComputations=true) | |
| virtual | ~DynamicProgramming () |
| void | InitMove () |
| void | InitMove (MoveDirection movedirection) |
| virtual void | InitReverseMove () |
| virtual void | Move () |
| >initializes move, which is reverse to the current one//TODO: remove virtual ? More... | |
| virtual void | PushBack () |
| virtual void | MoveBack () |
| const_iterators_pair | GetMarginals () const |
| const_iterators_pair | GetMarginals (IndexType indx) const |
| ValueType | GetObjectiveValue () const |
| virtual void | IncreaseUnaryWeights (InputIteratorType begin, InputIteratorType end) |
| virtual void | FinalizeMove () |
| LabelType | numOfLabels () const |
| virtual void | UpdateMarginals () |
| virtual IndexType | getNextPWId () const |
More... | |
| virtual IndexType | getPrevPWId () const |
More... | |
| MoveDirection | getMoveDirection () const |
More... | |
| IndexType | size () const |
| template<class ITERATOR > | |
| ValueType | evaluate (ITERATOR labeling) |
| void | SetFastComputation (bool fc) |
Protected Attributes | |
| ValueType | _mul |
| bool | _averagingFlag |
| UnaryFactor | _unaryBuffer |
| UnaryFactor | _copyPWfactor |
| ValueType | _derivativeValue |
Protected Attributes inherited from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator > | |
| bool | _fastComputation |
| Storage & | _storage |
| const FactorProperties & | _factorProperties |
| std::vector< UnaryFactor > | _marginals |
| ValueType | _objectiveValue |
| ValueType | _rho |
| MoveDirection | _moveDirection |
| bool | _bInitializationNeeded |
| UnaryFactor | _currentPWFactor |
| UnaryFactor | _currentUnaryFactor |
| IndexType | _currentUnaryIndex |
| UnaryFactor | _unaryTemp |
| Pseudo2DArray< ValueType > | _spst |
Additional Inherited Members | |
Static Public Attributes inherited from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator > | |
| static const IndexType | NaN =std::numeric_limits<IndexType>::max() |
Definition at line 467 of file trws_subproblemsolver.hxx.
| typedef parent::const_iterators_pair opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::const_iterators_pair |
Definition at line 475 of file trws_subproblemsolver.hxx.
| typedef parent::FactorProperties opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::FactorProperties |
Definition at line 479 of file trws_subproblemsolver.hxx.
| typedef parent::IndexType opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::IndexType |
Definition at line 472 of file trws_subproblemsolver.hxx.
| typedef parent::InputIteratorType opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::InputIteratorType |
Definition at line 474 of file trws_subproblemsolver.hxx.
| typedef parent::LabelType opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::LabelType |
Definition at line 473 of file trws_subproblemsolver.hxx.
| typedef parent::MoveDirection opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::MoveDirection |
Definition at line 477 of file trws_subproblemsolver.hxx.
| typedef DynamicProgramming<GM,ACC,InputIterator> opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::parent |
Definition at line 470 of file trws_subproblemsolver.hxx.
| typedef parent::Storage opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::Storage |
Definition at line 476 of file trws_subproblemsolver.hxx.
| typedef parent::UnaryFactor opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::UnaryFactor |
Definition at line 478 of file trws_subproblemsolver.hxx.
| typedef parent::ValueType opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::ValueType |
Definition at line 471 of file trws_subproblemsolver.hxx.
|
inline |
Definition at line 482 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 1277 of file trws_subproblemsolver.hxx.
Here is the call graph for this function:
|
protected |
subtract it if you want to get normalized log-marginals from non-normalized ones
std::cout << "uf:"<<i <<", acc=" << acc <<", _unaryBuffer="<< _unaryBuffer;//BSD
Definition at line 1134 of file trws_subproblemsolver.hxx.
Here is the call graph for this function:
|
inlineprotected |
Definition at line 496 of file trws_subproblemsolver.hxx.
|
protectedvirtual |
Reimplemented from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 1306 of file trws_subproblemsolver.hxx.
Here is the call graph for this function:
|
protectedvirtual |
Reimplemented from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 1298 of file trws_subproblemsolver.hxx.
|
protectedvirtual |
Reimplemented from opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 1264 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 1109 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 1000 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 1034 of file trws_subproblemsolver.hxx.
Here is the call graph for this function:
|
virtual |
Implements opengm::trws_base::DynamicProgramming< GM, ACC, InputIterator >.
Definition at line 1285 of file trws_subproblemsolver.hxx.
Here is the call graph for this function:
|
inline |
>makes MoveBack and returns derivative w.r.t. _smoothingValue
Definition at line 489 of file trws_subproblemsolver.hxx.
|
inline |
Definition at line 484 of file trws_subproblemsolver.hxx.
|
inline |
Definition at line 485 of file trws_subproblemsolver.hxx.
| SumProdSolver< GM, ACC, InputIterator >::ValueType opengm::trws_base::SumProdSolver< GM, ACC, InputIterator >::MoveBackGetDerivative | ( | ) |
Definition at line 1218 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 502 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 508 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 509 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 501 of file trws_subproblemsolver.hxx.
|
protected |
Definition at line 507 of file trws_subproblemsolver.hxx.
1.8.9.1