|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoot.toolkits.graph.SlowPseudoTopologicalOrderer
public class 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(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. |
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(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 Ordererg - 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
isReverse - specify if we want reverse pseudo-topological ordering, or
not.public boolean isReverseOrder()
#newList(DirectedGraph, boolean)) instead
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||