判断两个element是否可以独立运行
More...
#include <GSeparateOptimizer.h>
|
| static CBool | checkSeparate (const GSortedGElementPtrSet &elements, GElementCPtr fst, GElementCPtr snd) |
| |
| static GElementPtr | getNearestAncestor (GElementCPtr fst, GElementCPtr snd, GElementPPtr fstPatch, GElementPPtr sndPatch) |
| |
| static GElementPtr | getPatch (const GElementPtrArr &path, GElementCPtr ancestor, GElementCPtr element) |
| |
| static CVoid | collect (GElementPtr element, std::vector< GElementPtr > &curPath, std::vector< std::vector< GElementPtr >> &paths) |
| |
| static std::vector< std::vector< GElementPtr > > | collectPaths (const GSortedGElementPtrSet &elements) |
| |
| static std::vector< std::vector< int > > | buildGraph (const GSortedGElementPtrSet &elements, const std::vector< std::vector< GElementPtr >> &paths, int father, int son, int unlink) |
| |
◆ checkSeparate()
判断两个 element 是否是独立运行的
- Parameters
-
- Returns
◆ getNearestAncestor()
获取最近的从属节点信息
- Parameters
-
| fst | |
| snd | |
| fstPatch | |
| sndPatch | |
- Returns
- @notice 如果没有最近从属节点,即不在同一个 group中,则返回 nullptr
◆ getPatch()
根据 ancestor信息,获取对等同级的element信息
- Parameters
-
- Returns
◆ GPipeline
◆ GRegion
The documentation for this class was generated from the following file: