Interface ConjugateNode
-
- All Superinterfaces:
Comparable<IdAble>
,ConjugateDirectedVertex
,DirectedVertex
,ExternalIdAble
,GraphEntity
,IdAble
,ManagedId
,Serializable
,Vertex
- All Known Implementing Classes:
ConjugateNodeImpl
public interface ConjugateNode extends ConjugateDirectedVertex
Conjugate Node is the conjugate of a normal link. It is expected that its id is synced with the original link it represents- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static Class<ConjugateNode>
CONJUGATE_NODE_ID_CLASS
id class for generating ids-
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 ConjugateNode
deepClone()
Deep clonedefault Class<? extends ConjugateNode>
getConjugateNodeIdClass()
Return class used to generate unique conjugate node ids via the id generator if requiredConjugateNode
shallowClone()
Shallow clone-
Methods inherited from interface org.goplanit.utils.graph.directed.ConjugateDirectedVertex
getEdges, getEdgeSegment, getEntryEdgeSegments, getExitEdgeSegments, getOriginalEdge
-
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, getEdges, getIdClass, getInputProperty, getNumberOfEdges, getPosition, hasPosition, isPositionEqual2D, isPositionEqual2D, removeAllEdges, removeEdge, removeEdge, removeEdges, replace, setPosition, transformPosition, validate
-
-
-
-
Field Detail
-
CONJUGATE_NODE_ID_CLASS
static final Class<ConjugateNode> CONJUGATE_NODE_ID_CLASS
id class for generating ids
-
-
Method Detail
-
getConjugateNodeIdClass
default Class<? extends ConjugateNode> getConjugateNodeIdClass()
Return class used to generate unique conjugate node ids via the id generator if required- Returns:
- class type
-
shallowClone
ConjugateNode shallowClone()
Shallow clone- Specified by:
shallowClone
in interfaceGraphEntity
- Specified by:
shallowClone
in interfaceIdAble
- Specified by:
shallowClone
in interfaceVertex
- Returns:
- the cloned entity
-
deepClone
ConjugateNode deepClone()
Deep clone
-
-