Interface MacroscopicPhysicalNetworkBuilder<N extends Node,​L extends Link,​MLS extends MacroscopicLinkSegment>

    • 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 type
        capacity - the capacity of this link type
        maximumDensity - the maximum density of this link type
        modeProperties - 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 type
        capacity - the capacity of this link type
        maximumDensity - 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