GEDLIB  1.0
Namespaces | Functions
misc.hpp File Reference

Declaration of miscellaneous utility functions. More...

#include "../env/ged_graph.hpp"
#include "../env/node_map.hpp"
#include "../util/lsap_solver.hpp"
#include "../util/lsape_solver.hpp"
#include "misc.ipp"
Include dependency graph for misc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ged
 Global namespace for GEDLIB.
 
 ged::util
 Contains miscellaneous utility functions.
 

Functions

template<class Solver >
void ged::util::construct_node_map_from_solver (const Solver &solver, NodeMap &node_map, std::size_t solution_id=0)
 Constructs a node map from a solution to LSAPE or LSAPE stored in a ged::LSAPESolver or a ged::LSAPSolver object. More...
 
void ged::util::counting_sort (std::vector< LabelID >::iterator first, std::vector< LabelID >::iterator last)
 Implementation of counting sort. More...
 
void ged::util::init_adj_matrix (const GEDGraph &graph, DMatrix &adj_matrix)
 Initalizes the adjacency matrix of a graph. More...
 
void ged::util::parse_config_file (const std::string &filename, std::map< std::string, std::string > &options)
 Parses a configuration file. More...
 
void ged::util::save_as_config_file (const std::string &filename, const std::map< std::string, std::string > &options)
 Saves a string map as a configuration file as expected by parse_config_file(). More...
 

Detailed Description

Declaration of miscellaneous utility functions.

Definition in file misc.hpp.