Direct Graphical Models  v.1.7.0
DirectGraphicalModels::CGraphPairwiseKit Class Reference

Kit class for constructing Pairwise Graph objects. More...

#include <GraphPairwiseKit.h>

Inheritance diagram for DirectGraphicalModels::CGraphPairwiseKit:
Collaboration diagram for DirectGraphicalModels::CGraphPairwiseKit:

Public Member Functions

 CGraphPairwiseKit (byte nStates, INFER infer=INFER::LBP)
 Constructor. More...
 
virtual ~CGraphPairwiseKit ()=default
 
CGraphgetGraph () override
 Returns the graph object. More...
 
CInfergetInfer () override
 Returns the inference / decoding object. More...
 
CGraphExtgetGraphExt () override
 Returns the graph extension object. More...
 
- Public Member Functions inherited from DirectGraphicalModels::CGraphKit
 CGraphKit ()=default
 
 CGraphKit (const CGraphKit &)=delete
 
virtual ~CGraphKit ()=default
 
const CGraphKitoperator= (const CGraphKit &)=delete
 

Private Attributes

CGraphPairwise m_graph
 Pairwise graph. More...
 
std::unique_ptr< CMessagePassingm_pInfer
 Inferer for pairwise graphs. More...
 
CGraphPairwiseExt m_graphExtension
 Pairwise graph extension. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DirectGraphicalModels::CGraphKit
static std::shared_ptr< CGraphKitcreate (GraphType graphType, byte nStates)
 Factory method returning graph kit object. More...
 

Detailed Description

Kit class for constructing Pairwise Graph objects.

Author
Dr. Sergey Kosov, serge.nosp@m.y.ko.nosp@m.sov@p.nosp@m.roje.nosp@m.ct-10.nosp@m..de

Definition at line 33 of file GraphPairwiseKit.h.

Constructor & Destructor Documentation

◆ CGraphPairwiseKit()

DirectGraphicalModels::CGraphPairwiseKit::CGraphPairwiseKit ( byte  nStates,
INFER  infer = INFER::LBP 
)
inline

Constructor.

Parameters
nStatesthe number of States (classes)
infer

Definition at line 40 of file GraphPairwiseKit.h.

◆ ~CGraphPairwiseKit()

virtual DirectGraphicalModels::CGraphPairwiseKit::~CGraphPairwiseKit ( )
virtualdefault

Member Function Documentation

◆ getGraph()

CGraph& DirectGraphicalModels::CGraphPairwiseKit::getGraph ( )
inlineoverridevirtual

Returns the graph object.

Returns
The reference to the graph object

Implements DirectGraphicalModels::CGraphKit.

Definition at line 55 of file GraphPairwiseKit.h.

◆ getGraphExt()

CGraphExt& DirectGraphicalModels::CGraphPairwiseKit::getGraphExt ( )
inlineoverridevirtual

Returns the graph extension object.

Returns
The reference to the graph extension object

Implements DirectGraphicalModels::CGraphKit.

Definition at line 57 of file GraphPairwiseKit.h.

◆ getInfer()

CInfer& DirectGraphicalModels::CGraphPairwiseKit::getInfer ( )
inlineoverridevirtual

Returns the inference / decoding object.

Returns
The reference to the inference / decoding object

Implements DirectGraphicalModels::CGraphKit.

Definition at line 56 of file GraphPairwiseKit.h.

Member Data Documentation

◆ m_graph

CGraphPairwise DirectGraphicalModels::CGraphPairwiseKit::m_graph
private

Pairwise graph.

Definition at line 61 of file GraphPairwiseKit.h.

◆ m_graphExtension

CGraphPairwiseExt DirectGraphicalModels::CGraphPairwiseKit::m_graphExtension
private

Pairwise graph extension.

Definition at line 63 of file GraphPairwiseKit.h.

◆ m_pInfer

std::unique_ptr<CMessagePassing> DirectGraphicalModels::CGraphPairwiseKit::m_pInfer
private

Inferer for pairwise graphs.

Definition at line 62 of file GraphPairwiseKit.h.


The documentation for this class was generated from the following file: