Direct Graphical Models  v.1.7.0
DirectGraphicalModels::Node Struct Reference

Node structure More...

#include <GraphPairwise.h>

Collaboration diagram for DirectGraphicalModels::Node:

Public Member Functions

 Node (void)=delete
 
 Node (size_t _id, const Mat &p=EmptyMat)
 

Public Attributes

size_t id
 Node ID More...
 
Mat Pot
 Node potentials: Mat(size: nStates x 1; type: CV_32FC1) More...
 
byte sol
 
vec_size_t to
 Array of edge ids, pointing to the Child vertices. More...
 
vec_size_t from
 Array of edge ids, coming from the Parent vertices. More...
 

Detailed Description

Node structure

Basic info for each node.

Definition at line 14 of file GraphPairwise.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

DirectGraphicalModels::Node::Node ( void  )
delete

◆ Node() [2/2]

DirectGraphicalModels::Node::Node ( size_t  _id,
const Mat &  p = EmptyMat 
)
inline

Definition at line 22 of file GraphPairwise.h.

Member Data Documentation

◆ from

vec_size_t DirectGraphicalModels::Node::from

Array of edge ids, coming from the Parent vertices.

Definition at line 19 of file GraphPairwise.h.

◆ id

size_t DirectGraphicalModels::Node::id

Node ID

Definition at line 15 of file GraphPairwise.h.

◆ Pot

Mat DirectGraphicalModels::Node::Pot

Node potentials: Mat(size: nStates x 1; type: CV_32FC1)

Definition at line 16 of file GraphPairwise.h.

◆ sol

byte DirectGraphicalModels::Node::sol

Definition at line 17 of file GraphPairwise.h.

◆ to

vec_size_t DirectGraphicalModels::Node::to

Array of edge ids, pointing to the Child vertices.

Definition at line 18 of file GraphPairwise.h.


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