protected class AbstractBaseGraph.UndirectedSpecifics extends Object implements Serializable
Constructor and Description |
---|
AbstractBaseGraph.UndirectedSpecifics() |
AbstractBaseGraph.UndirectedSpecifics(Map<V,org.jgrapht.graph.AbstractBaseGraph.UndirectedEdgeContainer<V,E>> vertexMap) |
Modifier and Type | Method and Description |
---|---|
void |
addEdgeToTouchingVertices(E e)
Adds the specified edge to the edge containers of its source and
target vertices.
|
void |
addVertex(V v) |
int |
degreeOf(V vertex)
.
|
Set<E> |
edgesOf(V vertex)
.
|
Set<E> |
getAllEdges(V sourceVertex,
V targetVertex)
.
|
E |
getEdge(V sourceVertex,
V targetVertex)
.
|
Set<V> |
getVertexSet() |
Set<E> |
incomingEdgesOf(V vertex)
.
|
int |
inDegreeOf(V vertex)
.
|
int |
outDegreeOf(V vertex)
.
|
Set<E> |
outgoingEdgesOf(V vertex)
.
|
void |
removeEdgeFromTouchingVertices(E e)
Removes the specified edge from the edge containers of its source and
target vertices.
|
public AbstractBaseGraph.UndirectedSpecifics()
public void addVertex(V v)
public Set<E> getAllEdges(V sourceVertex, V targetVertex)
Graph.getAllEdges(Object, Object)
public E getEdge(V sourceVertex, V targetVertex)
Graph.getEdge(Object, Object)
public void addEdgeToTouchingVertices(E e)
public int degreeOf(V vertex)
public Set<E> edgesOf(V vertex)
Graph.edgesOf(Object)
public int inDegreeOf(V vertex)
DirectedGraph.inDegreeOf(Object)
public Set<E> incomingEdgesOf(V vertex)
DirectedGraph.incomingEdgesOf(Object)
public int outDegreeOf(V vertex)
DirectedGraph.outDegreeOf(Object)
public Set<E> outgoingEdgesOf(V vertex)
DirectedGraph.outgoingEdgesOf(Object)
public void removeEdgeFromTouchingVertices(E e)
Copyright © 2016. All rights reserved.