OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::external::MinSTCutIBFS< NType, VType > Class Template Reference

IBFS solver for the min st-cut framework GraphCut. More...

#include <minstcutibfs.hxx>

+ Collaboration diagram for opengm::external::MinSTCutIBFS< NType, VType >:

Public Types

typedef NType node_type
 
typedef VType ValueType
 
typedef IBFSGraph graph_type
 

Public Member Functions

 MinSTCutIBFS ()
 
 MinSTCutIBFS (size_t numberOfNodes, size_t numberOfEdges)
 
void addEdge (node_type, node_type, ValueType)
 
void calculateCut (std::vector< bool > &)
 

Detailed Description

template<class NType, class VType>
class opengm::external::MinSTCutIBFS< NType, VType >

IBFS solver for the min st-cut framework GraphCut.

Definition at line 14 of file minstcutibfs.hxx.

Member Typedef Documentation

template<class NType , class VType >
typedef IBFSGraph opengm::external::MinSTCutIBFS< NType, VType >::graph_type

Definition at line 20 of file minstcutibfs.hxx.

template<class NType , class VType >
typedef NType opengm::external::MinSTCutIBFS< NType, VType >::node_type

Definition at line 17 of file minstcutibfs.hxx.

template<class NType , class VType >
typedef VType opengm::external::MinSTCutIBFS< NType, VType >::ValueType

Definition at line 18 of file minstcutibfs.hxx.

Constructor & Destructor Documentation

template<class NType , class VType >
opengm::external::MinSTCutIBFS< NType, VType >::MinSTCutIBFS ( )

Definition at line 42 of file minstcutibfs.hxx.

template<class NType , class VType >
opengm::external::MinSTCutIBFS< NType, VType >::MinSTCutIBFS ( size_t  numberOfNodes,
size_t  numberOfEdges 
)

Definition at line 49 of file minstcutibfs.hxx.

Member Function Documentation

template<class NType , class VType >
void opengm::external::MinSTCutIBFS< NType, VType >::addEdge ( node_type  n1,
node_type  n2,
ValueType  cost 
)

Definition at line 61 of file minstcutibfs.hxx.

template<class NType , class VType >
void opengm::external::MinSTCutIBFS< NType, VType >::calculateCut ( std::vector< bool > &  segmentation)

Definition at line 79 of file minstcutibfs.hxx.