@Deprecated public class SimpleCycle extends org._3pq.jgrapht.graph.UndirectedSubgraph
| Constructor and Description |
|---|
SimpleCycle(org._3pq.jgrapht.UndirectedGraph g,
Collection edges)
Deprecated.
Constructs a cycle in a graph consisting of the specified edges.
|
SimpleCycle(org._3pq.jgrapht.UndirectedGraph g,
Set edges)
Deprecated.
Constructs a cycle in a graph consisting of the specified edges.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConsistency()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
List |
vertexList()
Deprecated.
Returns a list of the vertices contained in this cycle.
|
double |
weight()
Deprecated.
Returns the sum of the weights of all edges in this cycle.
|
addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, incomingEdgesOf, inDegreeOf, isVerifyIntegrity, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setVerifyIntegrity, vertexSetaddAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSetsclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSetpublic SimpleCycle(org._3pq.jgrapht.UndirectedGraph g,
Collection edges)
g - the graph in which the cycle is containededges - the edges of the cyclepublic SimpleCycle(org._3pq.jgrapht.UndirectedGraph g,
Set edges)
g - the graph in which the cycle is containededges - the edges of the cyclepublic double weight()
public List vertexList()
public String toString()
toString in class org._3pq.jgrapht.graph.AbstractGraphpublic boolean checkConsistency()
Copyright © 2021. All rights reserved.