public interface TemporaryVertex
dispose(Vertex)
to delete the temporary vertex
from the main graph after use.Modifier and Type | Method and Description |
---|---|
static Collection<Vertex> |
dispose(Vertex vertex)
This method traverses the subgraph of temporary vertices, and cuts that subgraph off from
the main graph at each point it encounters a non-temporary vertexes.
|
static Collection<Vertex> |
disposeAll(Collection<Vertex> vertices)
This method traverses the subgraph of all temporary vertices connected to the collection,
and removes connections to the main graph.
|
static Collection<Vertex> |
findSubgraph(Vertex vertex)
Return the subgraph of temporary vertices which are connected to this vertex.
|
boolean |
isEndVertex() |
boolean isEndVertex()
static Collection<Vertex> dispose(Vertex vertex)
vertex
is NOT a TemporaryVertex the method returns. No action taken.vertex
- Vertex part of the temporary part of the graph.static Collection<Vertex> disposeAll(Collection<Vertex> vertices)
vertices
- All temporary verticesstatic Collection<Vertex> findSubgraph(Vertex vertex)
vertex
- Vertex part of the temporary vertex subgraph.Copyright © 2020. All rights reserved.