Function graspi::print_distances_of_ids¶
Function Documentation¶
-
void
graspi
::
print_distances_of_ids
(const std::vector<float> &d, const std::set<int> &ids, const std::string &filename)¶ The function to print the distance based on their indices to the file of a given name
- Parameters
d
: is the reference to the vector of path length (distances)ids
: is the refernce to the set of indices of vertices to be printed to the filefilename
: is the name of the file to be saved the data to