|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <transportationsolver.hxx>
Inheritance diagram for TransportSolver::List2D< T >:
Collaboration diagram for TransportSolver::List2D< T >:Classes | |
| struct | bufferElement |
| class | iterator_template |
| struct | listElement |
Public Types | |
| typedef std::list< listElement > | List1D |
| typedef iterator_template< typename List1D::iterator, T > | iterator |
| typedef iterator_template< typename List1D::const_iterator, const T > | const_iterator |
| typedef std::vector< List1D > | List1DSeq |
| typedef std::vector< bufferElement > | Buffer |
Public Member Functions | |
| List2D (size_t xsize, size_t ysize, size_t nnz) | |
| List2D (const List2D &) | |
| List2D & | operator= (const List2D &) |
| void | clear () |
| void | resize (size_t xsize, size_t ysize, size_t nnz) |
| bool | push (size_t x, size_t y, const T &val) |
| bool | insert (size_t x, size_t y, const T &val) |
| void | erase (iterator it) |
| void | erase (size_t index) |
| void | rowErase (size_t y) |
| void | colErase (size_t x) |
| size_t | rowSize (size_t y) const |
| size_t | xsize () const |
| size_t | colSize (size_t x) const |
| size_t | ysize () const |
| size_t | nnz () const |
| iterator | rowBegin (size_t y) |
| const_iterator | rowBegin (size_t y) const |
| iterator | rowEnd (size_t y) |
| const_iterator | rowEnd (size_t y) const |
| iterator | colBegin (size_t x) |
| const_iterator | colBegin (size_t x) const |
| iterator | colEnd (size_t x) |
| const_iterator | colEnd (size_t x) const |
| template<class BinaryTable1D > | |
| T | inner_product1D (const BinaryTable1D &bin) const |
| template<class BinaryTable2D > | |
| T | inner_product2D (const BinaryTable2D &bin, T *pprecision=0) const |
| template<class BinaryTable2D > | |
| void | get2DTable (BinaryTable2D *pbin) const |
| T & | buffer (size_t index) |
| const T & | buffer (size_t index) const |
| std::pair< bool, T > | getValue (size_t x, size_t y) const |
| not very efficient function. Implemented mainly for test purposes. More... | |
Definition at line 35 of file transportationsolver.hxx.
| typedef std::vector<bufferElement> TransportSolver::List2D< T >::Buffer |
Definition at line 123 of file transportationsolver.hxx.
| typedef iterator_template<typename List1D::const_iterator,const T> TransportSolver::List2D< T >::const_iterator |
Definition at line 86 of file transportationsolver.hxx.
| typedef iterator_template<typename List1D::iterator,T> TransportSolver::List2D< T >::iterator |
Definition at line 85 of file transportationsolver.hxx.
| typedef std::list<listElement> TransportSolver::List2D< T >::List1D |
Definition at line 51 of file transportationsolver.hxx.
| typedef std::vector<List1D> TransportSolver::List2D< T >::List1DSeq |
Definition at line 88 of file transportationsolver.hxx.
| TransportSolver::List2D< T >::List2D | ( | size_t | xsize, |
| size_t | ysize, | ||
| size_t | nnz | ||
| ) |
Definition at line 209 of file transportationsolver.hxx.
| TransportSolver::List2D< T >::List2D | ( | const List2D< T > & | lst | ) |
Definition at line 218 of file transportationsolver.hxx.
|
inline |
Definition at line 187 of file transportationsolver.hxx.
|
inline |
Definition at line 188 of file transportationsolver.hxx.
| void TransportSolver::List2D< T >::clear | ( | ) |
Definition at line 376 of file transportationsolver.hxx.
|
inline |
Definition at line 170 of file transportationsolver.hxx.
|
inline |
Definition at line 171 of file transportationsolver.hxx.
|
inline |
Definition at line 173 of file transportationsolver.hxx.
|
inline |
Definition at line 174 of file transportationsolver.hxx.
| void TransportSolver::List2D< T >::colErase | ( | size_t | x | ) |
Definition at line 369 of file transportationsolver.hxx.
|
inline |
Definition at line 160 of file transportationsolver.hxx.
| void TransportSolver::List2D< T >::erase | ( | iterator | it | ) |
|
inline |
Definition at line 153 of file transportationsolver.hxx.
Here is the caller graph for this function:| void TransportSolver::List2D< T >::get2DTable | ( | BinaryTable2D * | pbin | ) | const |
| std::pair< bool, T > TransportSolver::List2D< T >::getValue | ( | size_t | x, |
| size_t | y | ||
| ) | const |
not very efficient function. Implemented mainly for test purposes.
Definition at line 430 of file transportationsolver.hxx.
| T TransportSolver::List2D< T >::inner_product1D | ( | const BinaryTable1D & | bin | ) | const |
Definition at line 390 of file transportationsolver.hxx.
| T TransportSolver::List2D< T >::inner_product2D | ( | const BinaryTable2D & | bin, |
| T * | pprecision = 0 |
||
| ) | const |
Definition at line 404 of file transportationsolver.hxx.
Here is the call graph for this function:
Here is the caller graph for this function:| bool TransportSolver::List2D< T >::insert | ( | size_t | x, |
| size_t | y, | ||
| const T & | val | ||
| ) |
Definition at line 282 of file transportationsolver.hxx.
|
inline |
Definition at line 162 of file transportationsolver.hxx.
| List2D< T > & TransportSolver::List2D< T >::operator= | ( | const List2D< T > & | lst | ) |
Definition at line 271 of file transportationsolver.hxx.
| bool TransportSolver::List2D< T >::push | ( | size_t | x, |
| size_t | y, | ||
| const T & | val | ||
| ) |
Definition at line 294 of file transportationsolver.hxx.
| void TransportSolver::List2D< T >::resize | ( | size_t | xsize, |
| size_t | ysize, | ||
| size_t | nnz | ||
| ) |
Definition at line 224 of file transportationsolver.hxx.
|
inline |
Definition at line 164 of file transportationsolver.hxx.
|
inline |
Definition at line 165 of file transportationsolver.hxx.
|
inline |
Definition at line 167 of file transportationsolver.hxx.
|
inline |
Definition at line 168 of file transportationsolver.hxx.
| void TransportSolver::List2D< T >::rowErase | ( | size_t | y | ) |
Definition at line 362 of file transportationsolver.hxx.
|
inline |
Definition at line 158 of file transportationsolver.hxx.
|
inline |
Definition at line 159 of file transportationsolver.hxx.
|
inline |
Definition at line 161 of file transportationsolver.hxx.
1.8.9.1