protected class AbstractBaseGraph.DirectedSpecifics extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Map<V,AbstractBaseGraph.DirectedEdgeContainer<V,E>> |
vertexMapDirected |
Constructor and Description |
---|
AbstractBaseGraph.DirectedSpecifics() |
AbstractBaseGraph.DirectedSpecifics(Map<V,AbstractBaseGraph.DirectedEdgeContainer<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.
|
protected Map<V,AbstractBaseGraph.DirectedEdgeContainer<V,E>> vertexMapDirected
public AbstractBaseGraph.DirectedSpecifics()
public AbstractBaseGraph.DirectedSpecifics(Map<V,AbstractBaseGraph.DirectedEdgeContainer<V,E>> vertexMap)
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)
UndirectedGraph.degreeOf(Object)
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.