Camargue
|
Utilities for reading and writing to files. More...
Go to the source code of this file.
Namespaces | |
CMR | |
The namespace for this project. | |
CMR::util | |
Utility functions/structures used miscellaneous places in the project. | |
Functions | |
void | CMR::util::write_tour_nodes (const std::vector< int > &tour_nodes, const std::string &tour_nodes_fname) |
Writes a tour to file. More... | |
void | CMR::util::write_tour_edges (const std::vector< int > &tour_edges, const std::vector< Graph::Edge > &edges, const int node_count, const std::string &tour_edges_fname) |
Writes tour edges to file. More... | |
void | CMR::util::write_lp_edges (const std::vector< int > &lp_elist, const std::vector< double > &lp_ecap, const int node_count, const std::string &lp_edges_fname) |
Writes LP edges to file. More... | |
void | CMR::util::write_xy_coords (const double *x, const double *y, const int ncount, const std::string &xy_coords_fname) |
Dumps the xy-coordinates for nodes in a graph. More... | |
void | CMR::util::get_tour_nodes (const int node_count, std::vector< int > &tour_nodes, const std::string &tour_nodes_fname) |
Load a tour from file. More... | |
void | CMR::util::get_lp_sol (const int node_count, std::vector< int > &support_elist, std::vector< double > &support_ecap, const std::string &lp_sol_fname) |
Loads an lp solution from file. More... | |
Utilities for reading and writing to files.