#include <boost/config.hpp>
#include <iostream>
#include <fstream>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/property_map/property_map.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/graph/copy.hpp>
#include <queue>
#include <map>
#include <list>
#include <bitset>
#include <algorithm>
#include <vector>
#include <limits>
#include <sys/time.h>
#include "spdlog/spdlog.h"
#include <spdlog/sinks/stdout_color_sinks.h>
#include <boost/program_options.hpp>
#include "../lib/json.h"
Go to the source code of this file.
|
int | findMinorEmbedding (DirectedGraph *H, DirectedGraph *G, std::map< int, NodeConfig > *hConfig, std::map< int, NodeConfig > *gConfig) |
|
int | findMinVertexModel (DirectedGraph *G, DirectedGraph *H, int y, std::map< int, NodeConfig > *hConfig, std::map< int, NodeConfig > *gConfig) |
|
◆ allowWildcardInLocking
#define allowWildcardInLocking 0 |
◆ computeTopoEnable
#define computeTopoEnable 0 |
◆ DEBUG
◆ MAX_DIST
#define MAX_DIST 10000000 |
◆ maxIterations
◆ NOT_PLACED
◆ RIKEN
◆ skipFullyLockedNodes
#define skipFullyLockedNodes 1 |
◆ sortAlgorithm
◆ DirectedGraph
◆ Edge
typedef DirectedGraph::edge_descriptor Edge |
◆ edge_iterator
◆ in_edge_iterator
◆ json
using json = nlohmann::json |
◆ out_edge_iterator
◆ OutEdgeIterator
◆ vertex_descriptor
◆ vertex_iterator
◆ findMinorEmbedding()
Finds a minor embedding of graph H into graph G.
- Parameters
-
H | Pointer to the directed graph H (original application graph read from a DOT file). |
G | Pointer to the directed graph G (original device model read from a DOT file). |
hConfig | Pointer to a map containing configuration information about nodes in graph H. |
gConfig | Pointer to a map containing configuration information about nodes in graph G. |
- Returns
- int Returns an integer indicating the success or failure of finding the minor embedding.
Finds a minor embedding of graph H into graph G.
◆ findMinVertexModel()
Finds the minimal vertex model for embedding.
- Parameters
-
H | Pointer to the directed graph H (original application graph read from a DOT file). |
G | Pointer to the directed graph G (original device model graph read from a DOT file). |
y | Integer indicating a vertex in graph H to begin from. |
hConfig | Pointer to a map containing configuration information about nodes in graph H. |
gConfig | Pointer to a map containing configuration information about nodes in graph G. |
- Returns
- int Returns an integer indicating the success or failure of finding the minimal embedding.
Finds the minimal vertex model for embedding.
◆ base_cost
◆ capacity
◆ drcLogger
std::shared_ptr<spdlog::logger> drcLogger |
|
extern |
◆ explored
std::bitset<100000> explored |
|
extern |
◆ gNames
std::map<int, std::string> gNames |
|
extern |
◆ gNamesInv
std::map<std::string, int> gNamesInv |
|
extern |
◆ gNamesInv_FuncCell
std::map<std::string, int> gNamesInv_FuncCell |
|
extern |
◆ HFac
◆ hfac_mul
◆ HistoryCosts
std::vector<int>* HistoryCosts |
|
extern |
◆ hNames
std::map<int, std::string> hNames |
|
extern |
◆ hNamesInv
std::map<std::string, int> hNamesInv |
|
extern |
◆ inPin
std::vector<std::string> inPin |
|
extern |
◆ invUsers
std::map<int, int> invUsers |
|
extern |
◆ iterCount
◆ jsonParsed
◆ max_iter
◆ outPin
std::vector<std::string> outPin |
|
extern |
◆ PFac
◆ pfac_mul
◆ TopoOrder
std::vector<int>* TopoOrder |
|
extern |
◆ TraceBack
std::vector<int>* TraceBack |
|
extern |
◆ Trees
◆ UGRAMM
std::shared_ptr<spdlog::logger> UGRAMM |
|
extern |
◆ ugrammConfig
std::map<std::string, std::vector<std::string> > ugrammConfig |
|
extern |
◆ UgrammPragmaConfig
◆ Users
std::vector<std::list<int> >* Users |
|
extern |