public class ZeroLengthCycleAnalysis extends Analysis
Red (ssb) |
Red (shahrooz) |
Constructor and Description |
---|
ZeroLengthCycleAnalysis(Graph graph,
ToDoubleMapping edgeLengths)
Construct an instance of this class using a default analyzer.
|
ZeroLengthCycleAnalysis(ZeroLengthCycleAnalyzer analyzer)
Construct an instance of this class using a given analyzer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasZeroLengthCycle()
Return true if a zero length cycle exists 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 ZeroLengthCycleAnalysis(Graph graph, ToDoubleMapping edgeLengths)
graph
- The given graph.edgeLengths
- The lengths associated with the edges of the graph.public ZeroLengthCycleAnalysis(ZeroLengthCycleAnalyzer analyzer)
analyzer
- The given analyzer.public boolean hasZeroLengthCycle()
public java.lang.String toString()
public boolean validAnalyzerInterface(Analyzer analyzer)
validAnalyzerInterface
in class Analysis
analyzer
- The given analyzer.