@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, vertexSet
addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
public 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.AbstractGraph
public boolean checkConsistency()
Copyright © 2017. All Rights Reserved.