public class AugmentedStmtGraph extends java.lang.Object implements DirectedGraph<AugmentedStmt>
Constructor and Description |
---|
AugmentedStmtGraph() |
AugmentedStmtGraph(AugmentedStmtGraph other) |
AugmentedStmtGraph(BriefUnitGraph bug,
TrapUnitGraph cug) |
Modifier and Type | Method and Description |
---|---|
void |
add_AugmentedStmt(AugmentedStmt as) |
void |
add_StmtBinding(Stmt s,
AugmentedStmt as) |
void |
calculate_Reachability(AugmentedStmt source) |
void |
calculate_Reachability(AugmentedStmt source,
AugmentedStmt dominator) |
void |
calculate_Reachability(AugmentedStmt source,
AugmentedStmt blocker,
AugmentedStmt dominator) |
void |
calculate_Reachability(AugmentedStmt source,
java.util.Set<AugmentedStmt> blockers,
AugmentedStmt dominator) |
void |
calculate_Reachability(java.util.Collection<AugmentedStmt> sources) |
void |
calculate_Reachability(java.util.Collection<AugmentedStmt> sources,
AugmentedStmt dominator) |
void |
calculate_Reachability(java.util.Collection<AugmentedStmt> sources,
AugmentedStmt blocker,
AugmentedStmt dominator) |
void |
calculate_Reachability(java.util.Collection<AugmentedStmt> sources,
java.util.Set<AugmentedStmt> blockers,
AugmentedStmt dominator) |
IterableSet<AugmentedStmt> |
clone_Body(IterableSet<AugmentedStmt> oldBody) |
java.lang.Object |
clone() |
boolean |
contains(java.lang.Object o) |
void |
find_Dominators() |
AugmentedStmt |
get_AugStmt(Stmt s) |
java.util.List<AugmentedStmt> |
get_BriefHeads() |
java.util.List<AugmentedStmt> |
get_BriefTails() |
IterableSet<AugmentedStmt> |
get_ChainView() |
AugmentedStmt |
get_CloneOf(AugmentedStmt as) |
java.util.List<AugmentedStmt> |
getHeads()
Returns a list of entry points for this graph.
|
java.util.List<AugmentedStmt> |
getPredsOf(AugmentedStmt s)
Returns a list of predecessors for the given node in the graph.
|
java.util.List<AugmentedStmt> |
getPredsOf(Stmt s) |
java.util.List<AugmentedStmt> |
getSuccsOf(AugmentedStmt s)
Returns a list of successors for the given node in the graph.
|
java.util.List<AugmentedStmt> |
getSuccsOf(Stmt s) |
java.util.List<AugmentedStmt> |
getTails()
Returns a list of exit points for this graph.
|
java.util.Iterator<AugmentedStmt> |
iterator()
Returns an iterator for the nodes in this graph.
|
boolean |
remove_AugmentedStmt(AugmentedStmt toRemove) |
int |
size()
Returns the node count for this graph.
|
java.lang.String |
toString() |
public AugmentedStmtGraph(AugmentedStmtGraph other)
public AugmentedStmtGraph(BriefUnitGraph bug, TrapUnitGraph cug)
public AugmentedStmtGraph()
public void add_AugmentedStmt(AugmentedStmt as)
public boolean contains(java.lang.Object o)
public AugmentedStmt get_CloneOf(AugmentedStmt as)
public int size()
DirectedGraph
size
in interface DirectedGraph<AugmentedStmt>
public void calculate_Reachability(AugmentedStmt source, java.util.Set<AugmentedStmt> blockers, AugmentedStmt dominator)
public void calculate_Reachability(java.util.Collection<AugmentedStmt> sources, java.util.Set<AugmentedStmt> blockers, AugmentedStmt dominator)
public void calculate_Reachability(AugmentedStmt source, AugmentedStmt blocker, AugmentedStmt dominator)
public void calculate_Reachability(java.util.Collection<AugmentedStmt> sources, AugmentedStmt blocker, AugmentedStmt dominator)
public void calculate_Reachability(AugmentedStmt source, AugmentedStmt dominator)
public void calculate_Reachability(java.util.Collection<AugmentedStmt> sources, AugmentedStmt dominator)
public void calculate_Reachability(AugmentedStmt source)
public void calculate_Reachability(java.util.Collection<AugmentedStmt> sources)
public void add_StmtBinding(Stmt s, AugmentedStmt as)
public AugmentedStmt get_AugStmt(Stmt s)
public java.util.List<AugmentedStmt> getHeads()
DirectedGraph
getHeads
in interface DirectedGraph<AugmentedStmt>
public java.util.List<AugmentedStmt> getTails()
DirectedGraph
getTails
in interface DirectedGraph<AugmentedStmt>
public java.util.Iterator<AugmentedStmt> iterator()
DirectedGraph
iterator
in interface java.lang.Iterable<AugmentedStmt>
iterator
in interface DirectedGraph<AugmentedStmt>
public java.util.List<AugmentedStmt> getPredsOf(AugmentedStmt s)
DirectedGraph
getPredsOf
in interface DirectedGraph<AugmentedStmt>
public java.util.List<AugmentedStmt> getPredsOf(Stmt s)
public java.util.List<AugmentedStmt> getSuccsOf(AugmentedStmt s)
DirectedGraph
getSuccsOf
in interface DirectedGraph<AugmentedStmt>
public java.util.List<AugmentedStmt> getSuccsOf(Stmt s)
public java.util.List<AugmentedStmt> get_BriefHeads()
public java.util.List<AugmentedStmt> get_BriefTails()
public IterableSet<AugmentedStmt> get_ChainView()
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean remove_AugmentedStmt(AugmentedStmt toRemove)
public java.lang.String toString()
toString
in class java.lang.Object
public IterableSet<AugmentedStmt> clone_Body(IterableSet<AugmentedStmt> oldBody)
public void find_Dominators()