Interface MacroscopicPhysicalNetworkBuilder<N extends Node,L extends Link,MLS extends MacroscopicLinkSegment>
-
- All Superinterfaces:
DirectedGraphBuilder<N,L,MLS>
,GraphBuilder<N,L>
,PhysicalNetworkBuilder<N,L,MLS>
- All Known Implementing Classes:
MacroscopicPhysicalNetworkBuilderImpl
public interface MacroscopicPhysicalNetworkBuilder<N extends Node,L extends Link,MLS extends MacroscopicLinkSegment> extends PhysicalNetworkBuilder<N,L,MLS>
Create network entities for a macroscopic simulation model using Nodes, Links, and MacroscopicLinkSegments- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MacroscopicLinkSegmentType
createLinkSegmentType(String name, double capacity, double maximumDensity)
Create a macroscopic link segment type instance without mode propertiesMacroscopicLinkSegmentType
createLinkSegmentType(String name, double capacity, double maximumDensity, Map<Mode,MacroscopicModeProperties> modeProperties)
Create a fully functional macroscopic link segment type instanceMacroscopicLinkSegmentType
createUniqueCopyOf(MacroscopicLinkSegmentType linkSegmentTypeToCopy)
create a copy of the passed in link segment type where only the unique identifiers are different-
Methods inherited from interface org.planit.graph.DirectedGraphBuilder
createEdgeSegment, createUniqueCopyOf, recreateIds
-
Methods inherited from interface org.planit.graph.GraphBuilder
createEdge, createUniqueCopyOf, createVertex, getIdGroupingToken, recreateIds, recreateIds, setIdGroupingToken
-
-
-
-
Method Detail
-
createLinkSegmentType
MacroscopicLinkSegmentType createLinkSegmentType(String name, double capacity, double maximumDensity, Map<Mode,MacroscopicModeProperties> modeProperties)
Create a fully functional macroscopic link segment type instance- Parameters:
name
- the name of this link typecapacity
- the capacity of this link typemaximumDensity
- the maximum density of this link typemodeProperties
- the mode properties for each mode along this link- Returns:
- macroscopicLinkSegmentType the created link segment type
-
createLinkSegmentType
MacroscopicLinkSegmentType createLinkSegmentType(String name, double capacity, double maximumDensity)
Create a macroscopic link segment type instance without mode properties- Parameters:
name
- the name of this link typecapacity
- the capacity of this link typemaximumDensity
- the maximum density of this link type- Returns:
- macroscopicLinkSegmentType the created link segment type
-
createUniqueCopyOf
MacroscopicLinkSegmentType createUniqueCopyOf(MacroscopicLinkSegmentType linkSegmentTypeToCopy)
create a copy of the passed in link segment type where only the unique identifiers are different- Parameters:
linkSegmentTypeToCopy
- to create a unique copy of- Returns:
- copy of passed on link segment type with unique id
-
-