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

Edge structure More...

#include <GraphWeiss.h>

Collaboration diagram for DirectGraphicalModels::CGraphWeiss::Edge:

Public Member Functions

 Edge (void)=delete
 
 Edge (Node *n1, Node *n2, byte group=0, const Mat &p=EmptyMat)
 
 ~Edge (void)
 
void msg_swap (void)
 

Public Attributes

Nodenode1
 First node in edge. More...
 
Nodenode2
 Second node in edge. More...
 
Mat Pot
 The edge potentials: Mat(size: nStates x nStates; type: CV_32FC1) 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...
 
byte group_id
 ID of the group, to which the edge belongs. More...
 

Detailed Description

Edge structure

Basic item stored in adjacency list.

Definition at line 28 of file GraphWeiss.h.

Constructor & Destructor Documentation

◆ Edge() [1/2]

DirectGraphicalModels::CGraphWeiss::Edge::Edge ( void  )
delete

◆ Edge() [2/2]

DirectGraphicalModels::CGraphWeiss::Edge::Edge ( Node n1,
Node n2,
byte  group = 0,
const Mat &  p = EmptyMat 
)
inline

Definition at line 37 of file GraphWeiss.h.

◆ ~Edge()

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

Definition at line 39 of file GraphWeiss.h.

Member Function Documentation

◆ msg_swap()

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

Definition at line 44 of file GraphWeiss.h.

Member Data Documentation

◆ group_id

byte DirectGraphicalModels::CGraphWeiss::Edge::group_id

ID of the group, to which the edge belongs.

Definition at line 34 of file GraphWeiss.h.

◆ msg

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

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

Definition at line 32 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 33 of file GraphWeiss.h.

◆ node1

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

First node in edge.

Definition at line 29 of file GraphWeiss.h.

◆ node2

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

Second node in edge.

Definition at line 30 of file GraphWeiss.h.

◆ Pot

Mat DirectGraphicalModels::CGraphWeiss::Edge::Pot

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

Definition at line 31 of file GraphWeiss.h.


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