public class TopoSorter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ignoreTypes |
protected int |
nextFinishNumber |
protected PAG |
pag |
protected java.util.HashSet<VarNode> |
visited |
| Constructor and Description |
|---|
TopoSorter(PAG pag,
boolean ignoreTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dfsVisit(VarNode n) |
void |
sort()
Actually perform the topological sort on the PAG.
|
protected boolean ignoreTypes
protected PAG pag
protected int nextFinishNumber
protected java.util.HashSet<VarNode> visited
public TopoSorter(PAG pag, boolean ignoreTypes)
public void sort()
protected void dfsVisit(VarNode n)