Package org.goplanit.utils.network.layer
Interface ConjugateMacroscopicNetworkLayer
-
- All Superinterfaces:
Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
,NetworkLayer
,TopologicalLayer
,UntypedDirectedGraphLayer<ConjugateNode,ConjugateLink,ConjugateLinkSegment>
- All Known Implementing Classes:
ConjugateMacroscopicNetworkLayerImpl
public interface ConjugateMacroscopicNetworkLayer extends UntypedDirectedGraphLayer<ConjugateNode,ConjugateLink,ConjugateLinkSegment>
Conjugate Macroscopic physical network layer consisting of conjugate nodes, conjugate links and conjugate macroscopic link segments. Note that conjugate links are undirected turns whereas conjugate edge segments are directed turns- Author:
- markr
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.network.layer.NetworkLayer
NETWORK_LAYER_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConjugateMacroscopicNetworkLayer
deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possibleConjugateLinks
getConjugateLinks()
Collect the undirected turns, i.e., conjugate linksConjugateLinkSegments
getConjugateLinkSegments()
Collect the turns, i.e.ConjugateNodes
getConjugateNodes()
Collect the conjugate nodes, i.e., links/link segments in original networkMacroscopicNetworkLayer
getOriginalLayer()
Reference to original layer this conjugate layer representsConjugateMacroscopicNetworkLayer
shallowClone()
Create a shallow copy of this entity-
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.network.layer.NetworkLayer
getFirstSupportedMode, getIdClass, getSupportedModes, hasSupportedModes, isEmpty, logInfo, registerSupportedMode, registerSupportedModes, reset, supports, supports, supportsPredefinedMode, validate
-
Methods inherited from interface org.goplanit.utils.network.layer.TopologicalLayer
createBoundingBox, transform
-
Methods inherited from interface org.goplanit.utils.network.layer.UntypedDirectedGraphLayer
getLayerIdGroupingToken, getLayerModifier
-
-
-
-
Method Detail
-
shallowClone
ConjugateMacroscopicNetworkLayer shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClone
in interfaceIdAble
- Specified by:
shallowClone
in interfaceNetworkLayer
- Specified by:
shallowClone
in interfaceTopologicalLayer
- Specified by:
shallowClone
in interfaceUntypedDirectedGraphLayer<ConjugateNode,ConjugateLink,ConjugateLinkSegment>
- Returns:
- shallow copy of entity
-
deepClone
ConjugateMacroscopicNetworkLayer deepClone()
A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possible- Specified by:
deepClone
in interfaceIdAble
- Specified by:
deepClone
in interfaceNetworkLayer
- Specified by:
deepClone
in interfaceTopologicalLayer
- Specified by:
deepClone
in interfaceUntypedDirectedGraphLayer<ConjugateNode,ConjugateLink,ConjugateLinkSegment>
- Returns:
- deep copy of entity
-
getConjugateLinks
ConjugateLinks getConjugateLinks()
Collect the undirected turns, i.e., conjugate links- Returns:
- the undirected turns
-
getConjugateLinkSegments
ConjugateLinkSegments getConjugateLinkSegments()
Collect the turns, i.e. conjugate link segments- Returns:
- the turns
-
getConjugateNodes
ConjugateNodes getConjugateNodes()
Collect the conjugate nodes, i.e., links/link segments in original network- Returns:
- the conjugate nodes
-
getOriginalLayer
MacroscopicNetworkLayer getOriginalLayer()
Reference to original layer this conjugate layer represents- Returns:
- original layer
-
-