mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 02:30:35 +03:00
ng_depth: rename calcDepth functions, return vec
This commit is contained in:
committed by
Matthew Barr
parent
15c8a7bd98
commit
dfe1b8a2af
@@ -78,8 +78,8 @@ vector<DepthMinMax> getDistancesFromSOM(const NGHolder &g_orig) {
|
||||
|
||||
//dumpGraph("som_depth.dot", g);
|
||||
|
||||
vector<DepthMinMax> temp_depths; // numbered by vertex index in g
|
||||
calcDepthsFrom(g, g.start, temp_depths);
|
||||
// Find depths, indexed by vertex index in g
|
||||
auto temp_depths = calcDepthsFrom(g, g.start);
|
||||
|
||||
// Transfer depths, indexed by vertex index in g_orig.
|
||||
vector<DepthMinMax> depths(num_vertices(g_orig));
|
||||
|
||||
Reference in New Issue
Block a user