阅读背景:

递归计算支配树的有效方法?

来源:互联网 

I'm using the Lengauer and Tarjan algorithm with path compression to calculate the dominator tree for a graph where there are millions of nodes. The algorithm is quite complex and I have to admit I haven't taken the time to fully understand it, I'm just using it. Now I have a need to calculate the dominator trees of the direct children of the root node and possibly recurse down the graph to a certain depth repeating this operation. I.e. when I calculate the dominator tree for a child of the root node I want to pretend that the root node has been removed from the graph.I'm using the Lengauer and Tarjan algorithm wit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: