MCPcopy Create free account
hub / github.com/davisking/dlib / node_id

Method node_id

dlib/graph_cuts/general_flow_graph.h:116–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 ) const { return in_edge_iterator(it, g.node(it).number_of_parents()); }
115
116 unsigned long node_id (
117 const out_edge_iterator& it
118 ) const { return g.node(it.idx).child(it.cnt).index(); }
119 unsigned long node_id (
120 const in_edge_iterator& it
121 ) const { return g.node(it.idx).parent(it.cnt).index(); }

Callers 4

graph_cut_scoreFunction · 0.45
operator()Method · 0.45
adoptMethod · 0.45
growMethod · 0.45

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected