Skip to content
Snippets Groups Projects
Commit 04b2ca26 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 3f91eb2a
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ traj_prop = g.new_vertex_property('int', val = - 1)
# the index in lists traj_segm and expanded_traj.
all_cost = g.get_edges([g.edge_properties.cost_function])
# numpy array with dtype float64
# Array of indices that sort on cost:
ind_cost = np.argsort(all_cost[:, 2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment