Package com.github.moaxcp.graphs
Class UndirectedPropertyGraph<ID>
java.lang.Object
com.github.moaxcp.graphs.AbstractPropertyGraph<ID>
com.github.moaxcp.graphs.UndirectedPropertyGraph<ID>
- All Implemented Interfaces:
PropertyGraph<ID>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.moaxcp.graphs.AbstractPropertyGraph
AbstractPropertyGraph.SimpleEdge, AbstractPropertyGraph.SimpleVertex
Nested classes/interfaces inherited from interface com.github.moaxcp.graphs.PropertyGraph
PropertyGraph.Edge<ID>, PropertyGraph.Vertex<ID>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this graph is directed.newEdgeKey
(ID source, ID target) Methods inherited from class com.github.moaxcp.graphs.AbstractPropertyGraph
addEdge, addVertex, edge, edge, edge, edge, edge, edge, edge, edge, edge, edge, edge, edge, edgeProperty, edgeProperty, equals, findEdge, findEdge, findEdgeProperty, findProperty, findVertex, findVertexProperty, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdge, getEdgeIds, getEdgeProperties, getEdgeProperty, getEdges, getId, getProperties, getProperty, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertex, getVertexProperties, getVertexProperty, getVertices, hashCode, id, newEdge, newVertex, property, property, removeEdge, removeEdge, removeEdgeProperty, removeProperty, removeVertex, removeVertexProperty, setEdgeProperty, setId, setProperty, setVertexProperty, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertexProperty, vertexProperty
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.moaxcp.graphs.PropertyGraph
breadthFirstIterator, breadthFirstStream, connected, isEmpty, postOrderIterator, postOrderStream, preOrderIterator, preOrderStream
-
Constructor Details
-
UndirectedPropertyGraph
public UndirectedPropertyGraph() -
UndirectedPropertyGraph
-
-
Method Details
-
newEdgeKey
- Specified by:
newEdgeKey
in classAbstractPropertyGraph<ID>
-
isDirected
public boolean isDirected()Description copied from interface:PropertyGraph
Returns true if this graph is directed.- Returns:
- if this graph is directed
-