Class TntpNetworkReaderFactory


  • public class TntpNetworkReaderFactory
    extends Object
    Factory for creating TNTPNetworkReaders
    Author:
    markr
    • Constructor Detail

      • TntpNetworkReaderFactory

        public TntpNetworkReaderFactory()
    • Method Detail

      • create

        public static TntpNetworkReader create()
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Returns:
        created TNTP network reader
      • create

        public static TntpNetworkReader create​(IdGroupingToken idToken)
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Parameters:
        idToken - to use for network
        Returns:
        created TNTP network reader
      • create

        public static TntpNetworkReader create​(String networkInputFile,
                                               String nodeInputFile)
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Parameters:
        networkInputFile - to use
        nodeInputFile - to use
        Returns:
        created TNTP network reader
      • create

        public static TntpNetworkReader create​(String networkInputFile,
                                               String nodeInputFile,
                                               IdGroupingToken idToken)
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Parameters:
        networkInputFile - to use
        nodeInputFile - to use
        idToken - to use to network reader
        Returns:
        created TNTP network reader
      • create

        public static TntpNetworkReader create​(TntpNetworkReaderSettings settings)
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Parameters:
        settings - to use
        Returns:
        created TNTP network reader
      • create

        public static TntpNetworkReader create​(TntpNetworkReaderSettings settings,
                                               LayeredNetwork<?,​?> network)
        Create a TNTPNetworkReader which will create its own macroscopic network and non-locale specific defaults for any right hand driving country
        Parameters:
        settings - to use
        network - to use
        Returns:
        created TNTP network reader