|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.toolkits.graph.SlowPseudoTopologicalOrderer
Provide the pseudo topological order of a graph's nodes. It has same functionality as PseudoTopologicalOrderer; however, this class considers the order of successors. It runs slower but more precise. Currently it was only used by ArrayBoundsCheckerAnalysis to reduce the iteration numbers.
Constructor Summary | |
SlowPseudoTopologicalOrderer()
|
|
SlowPseudoTopologicalOrderer(boolean isReversed)
|
|
SlowPseudoTopologicalOrderer(soot.Singletons.Global g)
|
Method Summary | |
boolean |
isReverseOrder()
Deprecated. use #newList(DirectedGraph, boolean)) instead |
List |
newList(DirectedGraph g)
Deprecated. use #newList(DirectedGraph, boolean)) instead |
List |
newList(DirectedGraph g,
boolean reverse)
Builds an order for a directed graph. The order is represented by the returned list, i.e. is a node was assigned number i in the order, it will be in the ith position of the returned list. |
void |
setReverseOrder(boolean isReversed)
Deprecated. use #newList(DirectedGraph, boolean)) instead |
static SlowPseudoTopologicalOrderer |
v()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SlowPseudoTopologicalOrderer(soot.Singletons.Global g)
public SlowPseudoTopologicalOrderer()
public SlowPseudoTopologicalOrderer(boolean isReversed)
Method Detail |
public static SlowPseudoTopologicalOrderer v()
public List newList(DirectedGraph g, boolean reverse)
newList
in interface Orderer
g
- a DirectedGraph instance whose nodes we wish to orderreverse
- true
to compute the reverse order
public List newList(DirectedGraph g)
#newList(DirectedGraph, boolean))
instead
g
- a DirectedGraph instance whose nodes we wish to order.
public void setReverseOrder(boolean isReversed)
#newList(DirectedGraph, boolean))
instead
public boolean isReverseOrder()
#newList(DirectedGraph, boolean))
instead
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |