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 ConjugateMacroscopicNetworkLayerdeepClone()A network layer deep clone is expected to update interdependencies between "owned" deep cloned entities where possibleConjugateLinksgetConjugateLinks()Collect the undirected turns, i.e., conjugate linksConjugateLinkSegmentsgetConjugateLinkSegments()Collect the turns, i.e.ConjugateNodesgetConjugateNodes()Collect the conjugate nodes, i.e., links/link segments in original networkMacroscopicNetworkLayergetOriginalLayer()Reference to original layer this conjugate layer representsConjugateMacroscopicNetworkLayershallowClone()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:
shallowClonein interfaceIdAble- Specified by:
shallowClonein interfaceNetworkLayer- Specified by:
shallowClonein interfaceTopologicalLayer- Specified by:
shallowClonein 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:
deepClonein interfaceIdAble- Specified by:
deepClonein interfaceNetworkLayer- Specified by:
deepClonein interfaceTopologicalLayer- Specified by:
deepClonein 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
-
-