Interface ConjugateDirectedVertex
-
- All Superinterfaces:
Comparable<IdAble>
,DirectedVertex
,ExternalIdAble
,GraphEntity
,IdAble
,ManagedId
,Serializable
,Vertex
- All Known Subinterfaces:
ConjugateConnectoidNode
,ConjugateNode
- All Known Implementing Classes:
ConjugateConnectoidNodeImpl
,ConjugateDirectedVertexImpl
,ConjugateNodeImpl
public interface ConjugateDirectedVertex extends DirectedVertex
Conjugate of directed vertex representing an edge segment in "regular" directed graph- Author:
- markr
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.graph.directed.DirectedVertex
getEntryEdgeSegments, getExitEdgeSegments
-
Fields inherited from interface org.goplanit.utils.graph.Vertex
LOGGER, VERTEX_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<? extends ConjugateDirectedEdge>
getEdges()
Returns a collection of DirectedEdge objects (unmodifiable)default ConjugateEdgeSegment
getEdgeSegment(DirectedVertex otherVertex)
collect the first edge segment corresponding to the provided other vertexIterable<? extends ConjugateEdgeSegment>
getEntryEdgeSegments()
Collect the entry edge segments of this vertex (unmodifiable)Iterable<? extends ConjugateEdgeSegment>
getExitEdgeSegments()
Collect the exit edge segments of this vertex (unmodifiable)DirectedEdge
getOriginalEdge()
Original edge in original directed graph this conjugate represents-
Methods inherited from interface org.goplanit.utils.graph.directed.DirectedVertex
getNumberOfEntryEdgeSegments, getNumberOfExitEdgeSegments, hasEntryEdgeSegments, hasEntrySegment, hasExitEdgeSegments, hasExitSegment
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.graph.Vertex
addEdge, addEdges, addInputProperty, deepClone, getEdges, getIdClass, getInputProperty, getNumberOfEdges, getPosition, hasPosition, isPositionEqual2D, isPositionEqual2D, removeAllEdges, removeEdge, removeEdge, removeEdges, replace, setPosition, shallowClone, transformPosition, validate
-
-
-
-
Method Detail
-
getEdges
Collection<? extends ConjugateDirectedEdge> getEdges()
Returns a collection of DirectedEdge objects (unmodifiable)- Specified by:
getEdges
in interfaceDirectedVertex
- Specified by:
getEdges
in interfaceVertex
- Returns:
- Set of DirectedEdge objects
-
getEntryEdgeSegments
Iterable<? extends ConjugateEdgeSegment> getEntryEdgeSegments()
Collect the entry edge segments of this vertex (unmodifiable)- Specified by:
getEntryEdgeSegments
in interfaceDirectedVertex
- Returns:
- edgeSegments
-
getExitEdgeSegments
Iterable<? extends ConjugateEdgeSegment> getExitEdgeSegments()
Collect the exit edge segments of this vertex (unmodifiable)- Specified by:
getExitEdgeSegments
in interfaceDirectedVertex
- Returns:
- edgeSegments
-
getEdgeSegment
default ConjugateEdgeSegment getEdgeSegment(DirectedVertex otherVertex)
collect the first edge segment corresponding to the provided other vertex- Specified by:
getEdgeSegment
in interfaceDirectedVertex
- Parameters:
otherVertex
- to use- Returns:
- first edge segment matching this signature
-
getOriginalEdge
DirectedEdge getOriginalEdge()
Original edge in original directed graph this conjugate represents- Returns:
- original edge
-
-