Darwin
1.10(beta)
|
Implements alpha-beta swap inference using graph-cuts (see Boykov et al, 2001). Factor graphs must be pairwise. More...
Public Member Functions | |
drwnAlphaBetaSwapInference (const drwnFactorGraph &graph) | |
std::pair< double, double > | inference (drwnFullAssignment &mapAssignment) |
Run inference (or resume for iterative algorithms). Algorithms may initialize from mapAssignment if not empty. Returns an upper and lower bound (if available) of the minimum energy. The upper bound is the same as the energy of the best solution found (i.e., same as graph.getEnergy(mapAssignment) ). | |
![]() | |
drwnMAPInference (const drwnFactorGraph &graph) | |
drwnMAPInference (const drwnMAPInference &inf) | |
virtual void | clear () |
Clear internally cached data (e.g., computation graph) | |
Additional Inherited Members | |
![]() | |
const drwnFactorGraph & | _graph |
reference to initial clique potentials | |
Implements alpha-beta swap inference using graph-cuts (see Boykov et al, 2001). Factor graphs must be pairwise.