Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
drwnGraphCutInference.h
1 /*****************************************************************************
2 ** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT
3 ** Distributed under the terms of the BSD license (see the LICENSE file)
4 ** Copyright (c) 2007-2015, Stephen Gould
5 ** All rights reserved.
6 **
7 ******************************************************************************
8 ** FILENAME: drwnGraphCutInference.h
9 ** AUTHOR(S): Stephen Gould <stephen.gould@anu.edu.au>
10 **
11 *****************************************************************************/
12 
13 #pragma once
14 
15 #include "drwnBase.h"
16 #include "drwnIO.h"
17 #include "drwnFactorGraph.h"
18 #include "drwnMapInference.h"
19 
20 // drwnAlphaExpansionInference -------------------------------------------------
23 
25  public:
28 
29  std::pair<double, double> inference(drwnFullAssignment& mapAssignment);
30 };
31 
32 // drwnAlphaBetaSwapInference --------------------------------------------------
35 
37  public:
40 
41  std::pair<double, double> inference(drwnFullAssignment& mapAssignment);
42 };
std::pair< double, double > inference(drwnFullAssignment &mapAssignment)
Run inference (or resume for iterative algorithms). Algorithms may initialize from mapAssignment if n...
Definition: drwnGraphCutInference.cpp:173
Container and utility functions for factor graphs.
Definition: drwnFactorGraph.h:40
std::pair< double, double > inference(drwnFullAssignment &mapAssignment)
Run inference (or resume for iterative algorithms). Algorithms may initialize from mapAssignment if n...
Definition: drwnGraphCutInference.cpp:37
Implements alpha-expansion inference using graph-cuts (see Boykov et al, 2001). Factor graphs must be...
Definition: drwnGraphCutInference.h:24
Implements alpha-beta swap inference using graph-cuts (see Boykov et al, 2001). Factor graphs must be...
Definition: drwnGraphCutInference.h:36
std::vector< int > drwnFullAssignment
defines a complete assignment to all variables in the universe
Definition: drwnVarAssignment.h:36
Interface for various MAP inference (energy minimization) algorithms.
Definition: drwnMapInference.h:38