gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
7 #ifndef SPANNING_TREE_H
8 #define SPANNING_TREE_H
32 void join(
int a,
int b);
39 const std::pair<int, int> &b)
const;
42 typedef std::set<const MElement *, MElementPtrLessThan>
ElementSet;
44 typedef std::list<std::pair<int, int> >
Tree;
65 static std::string
parse(std::string str, std::list<int> &physical);
71 static std::pair<int, int>
minmax(
const std::pair<int, int> &p);
StringXNumber * getOption(int iopt)
static void addToModel(GModel &model, Tree &tree, int tag)
std::set< std::pair< int, int >, Sort > EdgeSet
static void getAllMElement(GModel &model, int physical, int dim, ElementSet &element)
static std::string parse(std::string str, std::list< int > &physical)
std::set< const MElement *, MElementPtrLessThan > ElementSet
GMSH_SpanningTreePlugin()
static void getAllMEdge(ElementSet &element, EdgeSet &edge)
std::vector< int > parent
GMSH_Plugin * GMSH_RegisterSpanningTreePlugin()
std::string getHelp() const
std::list< std::pair< int, int > > Tree
static std::pair< int, int > minmax(const std::pair< int, int > &p)
std::string getAuthor() const
std::string getName() const
static void spanningTree(EdgeSet &edge, DSU &vertex, Tree &tree)
std::string getShortHelp() const
int getNbOptionsStr() const
bool operator()(const std::pair< int, int > &a, const std::pair< int, int > &b) const
StringXString * getOptionStr(int iopt)