Direct Graphical Models
v.1.7.0
|
Edge structure More...
#include <GraphPairwise.h>
Public Member Functions | |
Edge (void)=delete | |
Edge (size_t n1, size_t n2, byte group=0, const Mat &p=EmptyMat) | |
~Edge (void) | |
void | msg_swap (void) |
Public Attributes | |
size_t | node1 |
First (source) node in edge. More... | |
size_t | node2 |
Second (destination) node in edge. More... | |
Mat | Pot |
The edge potentials: Mat(size: nStates x nStates; type: CV_32FC1) More... | |
float * | msg |
Message (used in message-passing algorithms): Mat(size: nStates x 1; type: CV_32FC1) More... | |
float * | msg_temp |
Temp Message (used in message-passing algorithms): Mat(size: nStates x 1; type: CV_32FC1) More... | |
byte | group_id |
ID of the group, to which the edge belongs. More... | |
bool | suspend |
Flag, indicating weather the message calculation must be postponed (used in message-passing algorithms) More... | |
|
delete |
|
inline |
Definition at line 42 of file GraphPairwise.h.
|
inline |
Definition at line 44 of file GraphPairwise.h.
|
inline |
Definition at line 49 of file GraphPairwise.h.
byte DirectGraphicalModels::Edge::group_id |
ID of the group, to which the edge belongs.
Definition at line 38 of file GraphPairwise.h.
float* DirectGraphicalModels::Edge::msg |
Message (used in message-passing algorithms): Mat(size: nStates x 1; type: CV_32FC1)
Definition at line 36 of file GraphPairwise.h.
float* DirectGraphicalModels::Edge::msg_temp |
Temp Message (used in message-passing algorithms): Mat(size: nStates x 1; type: CV_32FC1)
Definition at line 37 of file GraphPairwise.h.
size_t DirectGraphicalModels::Edge::node1 |
First (source) node in edge.
Definition at line 33 of file GraphPairwise.h.
size_t DirectGraphicalModels::Edge::node2 |
Second (destination) node in edge.
Definition at line 34 of file GraphPairwise.h.
Mat DirectGraphicalModels::Edge::Pot |
The edge potentials: Mat(size: nStates x nStates; type: CV_32FC1)
Definition at line 35 of file GraphPairwise.h.
bool DirectGraphicalModels::Edge::suspend |
Flag, indicating weather the message calculation must be postponed (used in message-passing algorithms)
Definition at line 39 of file GraphPairwise.h.