SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
GCNode Struct Reference

Detailed Description

Definition at line 54 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

int32_t dist_terminal

distance to the terminal

Definition at line 69 of file GraphCut.h.

GCEdge* first

first outcoming edge

Definition at line 59 of file GraphCut.h.

int32_t id

node id

Definition at line 57 of file GraphCut.h.

GCNode* next

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

Definition at line 65 of file GraphCut.h.

GCEdge* parent

node's parent

Definition at line 61 of file GraphCut.h.

int32_t timestamp

timestamp showing when dist_to_terminal was computed

Definition at line 67 of file GraphCut.h.

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 75 of file GraphCut.h.

ETerminalType type_tree

the type of the tree that the node belongs to

Definition at line 71 of file GraphCut.h.

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

SHOGUN Machine Learning Toolbox - Documentation