Package org.planit.network.virtual
Class VirtualNetwork
- java.lang.Object
-
- org.djutils.event.EventProducer
-
- org.planit.assignment.TrafficAssignmentComponent<Network>
-
- org.planit.network.Network
-
- org.planit.network.virtual.VirtualNetwork
-
- All Implemented Interfaces:
Serializable
,Comparable<Idable>
,org.djutils.event.EventProducerInterface
,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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VirtualNetwork.ConnectoidEdges
Internal class for all Connectoid specific codeclass
VirtualNetwork.ConnectoidSegments
Internal class for non-physical LinkSegment specific code, i.e.
-
Field Summary
Fields Modifier and Type Field Description protected Map<Long,ConnectoidEdge>
connectoidEdgeMap
VirtualNetwork.ConnectoidEdges
connectoidEdges
internal class instance containing all connectoid specific functionalityprotected Map<Long,ConnectoidSegment>
connectoidSegmentMap
VirtualNetwork.ConnectoidSegments
connectoidSegments
internal class instance containing all connectoid segment specific functionality-
Fields inherited from class org.planit.network.Network
MACROSCOPIC_NETWORK, networkIdGroupingToken
-
Fields inherited from class org.planit.assignment.TrafficAssignmentComponent
id, tokenId, trafficComponentType
-
-
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 collection-
Methods inherited from class org.planit.network.Network
getNetworkGroupingTokenId
-
Methods inherited from class org.planit.assignment.TrafficAssignmentComponent
equals, getId, getIdGroupingToken, getSourceId, getTrafficComponentType, hashCode
-
Methods inherited from class org.djutils.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, getEventTypesWithListeners, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.planit.utils.id.Idable
compareTo, idEquals, idHashCode
-
-
-
-
Field Detail
-
connectoidEdgeMap
protected Map<Long,ConnectoidEdge> connectoidEdgeMap
-
connectoidSegmentMap
protected Map<Long,ConnectoidSegment> connectoidSegmentMap
-
connectoidEdges
public final VirtualNetwork.ConnectoidEdges connectoidEdges
internal class instance containing all connectoid specific functionality
-
connectoidSegments
public final VirtualNetwork.ConnectoidSegments connectoidSegments
internal class instance containing all connectoid segment specific functionality
-
-
Constructor Detail
-
VirtualNetwork
public VirtualNetwork(IdGroupingToken tokenId)
Constructor- Parameters:
tokenId
- contiguous id generation for instances of this class
-
-