|
CGraph
|
#include <GMaxParaOptimizer.h>


Static Protected Member Functions | |
| static CBool | match (const GSortedGElementPtrSet &elements) |
| static CSize | getMaxParaSize (const GSortedGElementPtrSet &elements) |
| static CSize | calcMaxCliqueSize (const std::vector< std::vector< int >> &graph) |
Static Protected Member Functions inherited from GOptimizer | |
| 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) |
Friends | |
| class | GElementManager |
Additional Inherited Members | |
Public Member Functions inherited from CObject | |
| CObject ()=default | |
| virtual CStatus | init () |
| virtual CStatus | run ()=0 |
| virtual CStatus | destroy () |
| virtual | ~CObject ()=default |
|
inlinestaticprotected |
计算当前最大团的大小
| graph |
|
inlinestaticprotected |
计算当前dag的最大并发度
| elements |
计算思路如下:

|
inlinestaticprotected |
判定是否match计算条件
| elements |
|
friend |