public class SourceNodeAnalysis extends Analysis
The returned collection cannot be modified when the client uses the default analyzer.
Red (ssb) |
Red (shahrooz) |
Constructor and Description |
---|
SourceNodeAnalysis(Graph graph)
Construct an instance of this class for a given graph.
|
SourceNodeAnalysis(SourceNodeAnalyzer analyzer)
Construct an instance of this class using a given analyzer.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
nodes()
Return the source 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 SourceNodeAnalysis(Graph graph)
graph
- The given graph.public SourceNodeAnalysis(SourceNodeAnalyzer 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.