Class TntpZoningReader

  • All Implemented Interfaces:
    ConverterEntity, ConverterReader<Zoning>, ZoningReader

    public class TntpZoningReader
    extends BaseReaderImpl<Zoning>
    implements ZoningReader
    Zoning reader component for TNTP data format. Note that zones are implicitly defined with a single connector in this format, meaning that the first X entries of the links in the network file represent the connector links to X zones (in metadata). to still accomodate this in PLANit, we treat the connector links as physical links (as often they are given a physical capacity in TNTP), and in front of it create a connectoid with a zero length connectoid segment. This also requires one to use a fixed cost connectoid setup since the connectoid has no length in TNTP.
    Author:
    gman, markr
    • Constructor Detail

      • TntpZoningReader

        protected TntpZoningReader​(TntpZoningReaderSettings zoningSettings,
                                   NetworkReader referenceNetworkReader)
        Constructor
        Parameters:
        zoningSettings - to use
        referenceNetworkReader - to use
      • TntpZoningReader

        protected TntpZoningReader​(TntpZoningReaderSettings zoningSettings,
                                   MacroscopicNetwork referenceNetwork,
                                   Zoning zoningToPopulate)
        Constructor
        Parameters:
        zoningSettings - to use
        referenceNetwork - to use
        zoningToPopulate - to use