SHOGUN  6.1.3
List of all members | Public Attributes
GCNode Struct Reference

Detailed Description

Graph cuts node.

Definition at line 61 of file GraphCut.h.

Public Attributes

int32_t id
int32_t timestamp
int32_t dist_terminal
ETerminalType type_tree
float64_t tree_cap

Member Data Documentation

◆ dist_terminal

int32_t dist_terminal

distance to the terminal

Definition at line 76 of file GraphCut.h.

◆ first

GCEdge* first

first outcoming edge

Definition at line 66 of file GraphCut.h.

◆ id

int32_t id

node id

Definition at line 64 of file GraphCut.h.

◆ next

GCNode* next

pointer to the next active node (or itself if it is the last node in the list)

Definition at line 72 of file GraphCut.h.

◆ parent

GCEdge* parent

node's parent

Definition at line 68 of file GraphCut.h.

◆ timestamp

int32_t timestamp

timestamp showing when dist_to_terminal was computed

Definition at line 74 of file GraphCut.h.

◆ tree_cap

float64_t tree_cap

if tree_cap > 0 then tree_cap is residual capacity of the edge SOURCE->node otherwise -tree_cap is residual capacity of the edge node->SINK

Definition at line 82 of file GraphCut.h.

◆ type_tree

ETerminalType type_tree

the type of the tree that the node belongs to

Definition at line 78 of file GraphCut.h.

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

SHOGUN Machine Learning Toolbox - Documentation