/* * Graph.hpp * * Created on: Oct 20, 2011 * Author: heber */ #ifndef FRAGMENTATION_GRAPH_HPP_ #define FRAGMENTATION_GRAPH_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include "Fragmentation/KeySet.hpp" typedef std::pair NumberValuePair; typedef std::pair GraphPair; class AdaptivityMap; class Graph : public std::map { public: Graph(); ~Graph(); void InsertGraph(Graph &graph, int *counter); bool ParseKeySetFile(std::string &path); bool StoreKeySetFile(std::string &path); bool ParseTEFactorsFile(char *path); bool StoreTEFactorsFile(char *path); AdaptivityMap * GraphToAdaptivityMap() const; }; typedef std::pair GraphTestPair; #endif /* FRAGMENTATION_GRAPH_HPP_ */