GOptimizer是用来干嘛的?
More...
#include <GOptimizer.h>
◆ buildGraph()
| static std::vector<std::vector<int> > GOptimizer::buildGraph |
( |
const GSortedGElementPtrSet & |
elements, |
|
|
const std::vector< std::vector< GElementPtr >> & |
paths, |
|
|
int |
father, |
|
|
int |
son, |
|
|
int |
unlink |
|
) |
| |
|
inlinestaticprotected |
构造对应的二维矩阵图 将每条path的可达关系构造成一个二维矩阵图,father可以直接或通过串联的多个元素到达son,反之不行
- Parameters
-
| elements | |
| paths | |
| father | |
| son | |
| unlink | |
- Returns
◆ collect()
记录 path 信息
- Parameters
-
- Returns
◆ collectPaths()
记录所有的path信息
- Parameters
-
- Returns
◆ GPerf
The documentation for this class was generated from the following file: