Package org.goplanit.utils.graph
Interface ConjugateEdge
-
- All Superinterfaces:
Comparable<IdAble>
,Edge
,ExternalIdAble
,GraphEntity
,IdAble
,ManagedId
,Serializable
- All Known Implementing Classes:
ConjugateEdgeImpl
public interface ConjugateEdge extends Edge
Conjugate Edge interface connecting two conjugate vertices in a non-directional fashion.- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static Class<ConjugateEdge>
CONJUGATE_EDGE_ID_CLASS
id class for generating ids-
Fields inherited from interface org.goplanit.utils.graph.Edge
EDGE_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateEdge
deepClone()
deep Clone the conjugate edgePair<Edge,Edge>
getOriginalEdges()
Edges in original graph representing this conjugateConjugateVertex
getVertexA()
Vertex A of the edgeConjugateVertex
getVertexB()
Vertex B of the edgeConjugateEdge
shallowClone()
Clone the conjugate edge as is, all shared members are shallow copied, fully owned members are deep copied-
Methods inherited from interface org.goplanit.utils.graph.Edge
addInputProperty, createEnvelope, getGeometry, getIdClass, getInputProperty, getLengthKm, getName, hasGeometry, hasName, hasVertex, hasVertexA, hasVertexB, hasVertices, isGeometryInAbDirection, isGeometryInAbDirection, isVertexA, populateBasicGeometry, removeVertex, replace, setGeometry, setLengthKm, setName, transformGeometry, updateGeometryInjectCoordinateAtProjectedLocation, validate
-
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
-
-
-
-
Field Detail
-
CONJUGATE_EDGE_ID_CLASS
static final Class<ConjugateEdge> CONJUGATE_EDGE_ID_CLASS
id class for generating ids
-
-
Method Detail
-
getVertexA
ConjugateVertex getVertexA()
Vertex A of the edge- Specified by:
getVertexA
in interfaceEdge
- Returns:
- vertex A
-
getVertexB
ConjugateVertex getVertexB()
Vertex B of the edge- Specified by:
getVertexB
in interfaceEdge
- Returns:
- vertex B
-
shallowClone
ConjugateEdge shallowClone()
Clone the conjugate edge as is, all shared members are shallow copied, fully owned members are deep copied- Specified by:
shallowClone
in interfaceEdge
- Specified by:
shallowClone
in interfaceGraphEntity
- Specified by:
shallowClone
in interfaceIdAble
- Returns:
- copy of this conjugate edge
-
deepClone
ConjugateEdge deepClone()
deep Clone the conjugate edge
-
-