Package org.goplanit.matsim.converter
Class MatsimPublicTransportServicesWriterFactory
- java.lang.Object
-
- org.goplanit.matsim.converter.MatsimPublicTransportServicesWriterFactory
-
public class MatsimPublicTransportServicesWriterFactory extends Object
Factory for creating PLANitMatsim routed (PT) services writers.- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description MatsimPublicTransportServicesWriterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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 countrystatic MatsimRoutedServicesWriter
create(String outputDirectory, Zoning referenceZoning)
Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format in given directorystatic 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 providedstatic MatsimRoutedServicesWriter
create(MatsimPtServicesWriterSettings routedServicesSettings, MatsimNetworkWriterSettings networkWriterSettings, MatsimZoningWriterSettings zoningWriterSettings, Zoning referenceZoning)
Create a PLANitMatsimRoutedServicesWriter (pt output) with defaults.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 providedstatic MatsimRoutedServicesWriter
create(Zoning referenceZoning)
Create a MatsimRoutedServicesWriter which persists PLANit routed services in a public transport schedule in MATSIM format in current working directory
-
-
-
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 usereferenceZoning
- 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 usecountryName
- country which the input file represents, used to determine defaultsreferenceZoning
- 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 usereferenceZoning
- 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 usereferenceZoning
- 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 usezoningWriterSettings
- to useroutedServicesSettings
- to usereferenceZoning
- as these contain the transfer zones (stops) that MATSim requires- Returns:
- create MATSim zoning (pt) writer
-
-