public class SinkNodeAnalysis extends Analysis
The returned collection cannot be modified when the client uses the default strategy.
Constructor and Description |
---|
SinkNodeAnalysis(Graph graph)
Construct an instance of this class for a given graph.
|
SinkNodeAnalysis(SinkNodeAnalyzer analyzer)
Construct an instance of this class using a given analyzer.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
nodes()
Return the sink nodes in the graph under analysis.
|
java.lang.String |
toString()
Return a description of the analysis and the associated analyzer.
|
boolean |
validAnalyzerInterface(Analyzer analyzer)
Check if a given analyzer is compatible with this analysis.
|
analyzer, changeAnalyzer, graph, valid
public SinkNodeAnalysis(Graph graph)
graph
- The given graph.public SinkNodeAnalysis(SinkNodeAnalyzer analyzer)
analyzer
- The given analyzer.public java.util.List nodes()
Node
.public java.lang.String toString()
public boolean validAnalyzerInterface(Analyzer analyzer)
validAnalyzerInterface
in class Analysis
analyzer
- The given analyzer.