Class MatsimPublicTransportServicesWriterFactory


  • public class MatsimPublicTransportServicesWriterFactory
    extends Object
    Factory for creating PLANitMatsim routed (PT) services writers.
    Author:
    markr
    • Constructor Detail

      • MatsimPublicTransportServicesWriterFactory

        public MatsimPublicTransportServicesWriterFactory()
    • Method Detail

      • create

        public static MatsimRoutedServicesWriter create​(Zoning referenceZoning)
        Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format in current working directory
        Parameters:
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        created MatsimRoutedServicesWriter
      • create

        public static MatsimRoutedServicesWriter create​(String outputDirectory,
                                                        Zoning referenceZoning)
        Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format in given directory
        Parameters:
        outputDirectory - to use
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        createMATSimMatsimRoutedServicesWriter
      • create

        public static MatsimRoutedServicesWriter create​(String outputDirectory,
                                                        String countryName,
                                                        Zoning referenceZoning)
        Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format in given directory for a given country
        Parameters:
        outputDirectory - to use
        countryName - country which the input file represents, used to determine defaults
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        created MatsimRoutedServicesWriter
      • create

        public static MatsimRoutedServicesWriter create​(MatsimPtServicesWriterSettings settings,
                                                        Zoning referenceZoning)
        Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format based on settings provided
        Parameters:
        settings - to use
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        created MatsimRoutedServicesWriter
      • create

        public static MatsimRoutedServicesWriter create​(MatsimIntermodalWriterSettings settings,
                                                        Zoning referenceZoning)
        Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format based on settings provided
        Parameters:
        settings - to use
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        created MatsimRoutedServicesWriter
      • create

        public static MatsimRoutedServicesWriter create​(MatsimPtServicesWriterSettings routedServicesSettings,
                                                        MatsimNetworkWriterSettings networkWriterSettings,
                                                        MatsimZoningWriterSettings zoningWriterSettings,
                                                        Zoning referenceZoning)
        Create a PLANitMatsimRoutedServicesWriter (pt output) with defaults. It is expected the user sets the appropriate properties afterwards as required for this particular type of writer
        Parameters:
        networkWriterSettings - to use
        zoningWriterSettings - to use
        routedServicesSettings - to use
        referenceZoning - as these contain the transfer zones (stops) that MATSim requires
        Returns:
        create MATSim zoning (pt) writer