public class SelfLoopAnalysis extends Analysis
The returned collection cannot be modified when the client uses the default analyzer.
Constructor and Description |
---|
SelfLoopAnalysis(Graph graph)
Construct an instance of this class for a given graph.
|
SelfLoopAnalysis(SelfLoopAnalyzer analyzer)
Construct an instance of this class with a given analyzer.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
edges()
Return the self-loop edges 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 SelfLoopAnalysis(Graph graph)
graph
- The given graph.public SelfLoopAnalysis(SelfLoopAnalyzer analyzer)
analyzer
- The analyzer to use.public java.util.List edges()
Edge
.public java.lang.String toString()
public boolean validAnalyzerInterface(Analyzer analyzer)
validAnalyzerInterface
in class Analysis
analyzer
- The given analyzer.