Package sootup.core.graph
Interface BlockTraversalStrategy
- All Known Implementing Classes:
- PostOrderBlockTraversal,- ReversePostOrderBlockTraversal
public interface BlockTraversalStrategy
An interface for defining a strategy to traverse a StmtGraph.
- 
Method SummaryModifier and TypeMethodDescriptionList<BasicBlock<?>>This method returns a list of Blocks ordered by the traversal sequence.iterator()This method provides an iterator to traverse a StmtGraph according to the defined strategy.
- 
Method Details- 
iteratorBlockIterator iterator()This method provides an iterator to traverse a StmtGraph according to the defined strategy.- Returns:
- an iterator for traversing StmtGraph
 
- 
getBlocksSortedList<BasicBlock<?>> getBlocksSorted()This method returns a list of Blocks ordered by the traversal sequence.- Returns:
- a list of Blocks in traversal order
 
 
-