public static class DefaultRNView.RN extends MultiGraph<Vertex,RNEdge>
Constructor and Description |
---|
DefaultRNView.RN()
Creates a new residual network.
|
Modifier and Type | Method and Description |
---|---|
protected void |
edgeAdded(RNEdge edge)
Is invoked if an edge is added to the graph.
|
protected void |
edgeRemoved(RNEdge edge)
Is invoked if an edge is removed from the graph.
|
protected boolean |
isEdgeAllowed(RNEdge edge)
Checks if the given edge is allowed.
|
containsEdge
add, add, contains, contains, containsVertex, equals, equals, getEdge, getEdge, getEdge, getEdgeByID, getEdgeByIDSet, getEdges, getEdges, getEdgeSet, getOrder, getSize, getType, getVertex, getVertexByCaption, getVertexByID, getVertexByIDSet, getVertexSet, isRemovable, isRemovable, isVertexAllowed, remove, remove, removeAll, toString, vertexAdded, vertexRemoved
public DefaultRNView.RN()
protected boolean isEdgeAllowed(RNEdge edge)
Graph
isEdgeAllowed
in class Graph<Vertex,RNEdge>
edge
- the edgetrue
if the edge is allowed otherwise false
protected void edgeAdded(RNEdge edge)
Graph