Direct Graphical Models  v.1.5.3
DirectGraphicalModels::CGraphWeiss::Edge Struct Reference

Edge structure More...

#include <GraphWeiss.h>

Collaboration diagram for DirectGraphicalModels::CGraphWeiss::Edge:

Public Member Functions

 Edge ()
 
 Edge (Node *n1, Node *n2, Mat p)
 
 ~Edge ()
 
void msg_swap (void)
 

Public Attributes

Nodenode1
 First node in edge. More...
 
Nodenode2
 Second node in edge. More...
 
float * msg
 Message (for the loopyBP algorithm: class CDecodeLPB): Mat(size: nStates x 1; type: CV_32FC1) More...
 
float * msg_temp
 Temp Message (for the loopyBP algorithm: class CDecodeLPB): Mat(size: nStates x 1; type: CV_32FC1) More...
 
Mat Pot
 The edge potentials: Mat(size: nStates x nStates; type: CV_32FC1) More...
 

Detailed Description

Edge structure

Basic item stored in adjacency list.

Definition at line 35 of file GraphWeiss.h.

Constructor & Destructor Documentation

◆ Edge() [1/2]

DirectGraphicalModels::CGraphWeiss::Edge::Edge ( void  )
inline

Definition at line 42 of file GraphWeiss.h.

◆ Edge() [2/2]

DirectGraphicalModels::CGraphWeiss::Edge::Edge ( Node n1,
Node n2,
Mat  p 
)
inline

Definition at line 43 of file GraphWeiss.h.

◆ ~Edge()

DirectGraphicalModels::CGraphWeiss::Edge::~Edge ( )
inline

Definition at line 44 of file GraphWeiss.h.

Member Function Documentation

◆ msg_swap()

void DirectGraphicalModels::CGraphWeiss::Edge::msg_swap ( void  )
inline

Definition at line 49 of file GraphWeiss.h.

Member Data Documentation

◆ msg

float* DirectGraphicalModels::CGraphWeiss::Edge::msg

Message (for the loopyBP algorithm: class CDecodeLPB): Mat(size: nStates x 1; type: CV_32FC1)

Definition at line 38 of file GraphWeiss.h.

◆ msg_temp

float* DirectGraphicalModels::CGraphWeiss::Edge::msg_temp

Temp Message (for the loopyBP algorithm: class CDecodeLPB): Mat(size: nStates x 1; type: CV_32FC1)

Definition at line 39 of file GraphWeiss.h.

◆ node1

Node* DirectGraphicalModels::CGraphWeiss::Edge::node1

First node in edge.

Definition at line 36 of file GraphWeiss.h.

◆ node2

Node* DirectGraphicalModels::CGraphWeiss::Edge::node2

Second node in edge.

Definition at line 37 of file GraphWeiss.h.

◆ Pot

Mat DirectGraphicalModels::CGraphWeiss::Edge::Pot

The edge potentials: Mat(size: nStates x nStates; type: CV_32FC1)

Definition at line 40 of file GraphWeiss.h.


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