Package org.goplanit.network.virtual
Class VirtualNetwork
- java.lang.Object
-
- org.goplanit.component.PlanitComponent<Network>
-
- org.goplanit.network.Network
-
- org.goplanit.network.virtual.VirtualNetwork
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<IdAble>
,EventListener
,PlanitComponentListener
,EventListener
,ExternalIdAble
,IdAble
public class VirtualNetwork extends Network
Model free virtual network which is part of the zoning and holds all the virtual infrastructure connecting the zones to the physical road network.- Author:
- markr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ConnectoidEdgesImpl
connectoidEdges
Container for connectoid edgesprotected ConnectoidSegmentsImpl
connectoidSegments
Container for connectoid edge segments-
Fields inherited from class org.goplanit.network.Network
MACROSCOPIC_NETWORK, networkIdGroupingToken
-
-
Constructor Summary
Constructors Constructor Description VirtualNetwork(IdGroupingToken tokenId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
free up memory by clearing contents for garbage collectionConnectoidEdges
getConnectoidEdges()
Access to connectoid edgesConnectoidSegments
getConnectoidSegments()
Access to connectoid segments-
Methods inherited from class org.goplanit.network.Network
clone, getNetworkGroupingTokenId, reset
-
Methods inherited from class org.goplanit.component.PlanitComponent
equals, getComponentType, getExternalId, getId, getIdGroupingToken, getKnownSupportedEventTypes, getXmlId, hashCode, onPlanitComponentEvent, setExternalId, setXmlId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.event.EventListener
hasKnownSupportedEventTypes
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
hasExternalId, hasXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, idEquals, idHashCode
-
-
-
-
Field Detail
-
connectoidEdges
protected final ConnectoidEdgesImpl connectoidEdges
Container for connectoid edges
-
connectoidSegments
protected final ConnectoidSegmentsImpl connectoidSegments
Container for connectoid edge segments
-
-
Constructor Detail
-
VirtualNetwork
public VirtualNetwork(IdGroupingToken tokenId)
Constructor- Parameters:
tokenId
- contiguous id generation for instances of this class
-
-
Method Detail
-
getConnectoidSegments
public ConnectoidSegments getConnectoidSegments()
Access to connectoid segments- Returns:
- connectoidSegments
-
getConnectoidEdges
public ConnectoidEdges getConnectoidEdges()
Access to connectoid edges- Returns:
- connectoidEdges
-
clear
public void clear()
free up memory by clearing contents for garbage collection
-
-