-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Cloneable,org.jgrapht.DirectedGraph,org.jgrapht.Graph,org.jgrapht.WeightedGraph
public final class WebGraph extends DirectedWeightedPseudograph<WebVertex, WebEdge>
Created by vincent on 16-12-21. Copyright @ 2013-2016 Platon AI. All rights reserved
A pseudograph is a non-simple graph in which both graph loops and multiple edges are permitted.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWebGraph.Companion
-
Field Summary
Fields Modifier and Type Field Description private WebVertexfocusprivate final BooleanallowingLoops
-
Method Summary
Modifier and Type Method Description final WebVertexgetFocus()final UnitsetFocus(WebVertex focus)final WebVertexaddOrUpdateWebVertex(WebVertex vertex)final WebEdgeaddEdgeLenient(WebVertex sourceVertex, WebVertex targetVertex, Double weight)final WebEdgeaddEdgeLenient(WebVertex sourceVertex, WebVertex targetVertex)final WebEdgeaddEdge(WebEdge otherEdge, WebGraph otherGraph)final WebGraphcombine(WebGraph otherGraph)final WebVertexfind(WebVertex vertex)final WebVertexfind(String url)final WebEdgefirstEdge()StringtoString()-
Methods inherited from class org.jgrapht.graph.DirectedPseudograph
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, createDirectedSpecifics, createUndirectedSpecifics, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSetFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, inDegreeOf, incomingEdgesOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet -
Methods inherited from class org.jgrapht.graph.AbstractBaseGraph
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toStringFromSets -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
addOrUpdateWebVertex
final WebVertex addOrUpdateWebVertex(WebVertex vertex)
-
addEdgeLenient
@JvmOverloads() final WebEdge addEdgeLenient(WebVertex sourceVertex, WebVertex targetVertex, Double weight)
-
addEdgeLenient
@JvmOverloads() final WebEdge addEdgeLenient(WebVertex sourceVertex, WebVertex targetVertex)
-
-
-
-