Class GtfsIntermodalReaderSettings

    • Field Detail

      • DEFAULT_STOP_TO_STOP_COST_APPROACH

        public final String DEFAULT_STOP_TO_STOP_COST_APPROACH
        default search for cheapest paths is based on free flow approach
    • Constructor Detail

      • GtfsIntermodalReaderSettings

        public GtfsIntermodalReaderSettings​(String countryName)
        Constructor with user defined source locale, input source the current directory, and EXTENDED RouteTypeChoice applied
        Parameters:
        countryName - to base source locale on
      • GtfsIntermodalReaderSettings

        public GtfsIntermodalReaderSettings​(String inputSource,
                                            String countryName,
                                            RouteTypeChoice routeTypeChoice)
        Constructor with user defined source locale
        Parameters:
        inputSource - to use
        countryName - to base source locale on
        routeTypeChoice - to apply
      • GtfsIntermodalReaderSettings

        public GtfsIntermodalReaderSettings​(String inputSource,
                                            String countryName,
                                            DayOfWeek dayOfWeek,
                                            RouteTypeChoice routeTypeChoice)
        Constructor with user defined source locale
        Parameters:
        inputSource - to use
        countryName - to base source locale on
        dayOfWeek - to filter on
        routeTypeChoice - to apply
      • GtfsIntermodalReaderSettings

        public GtfsIntermodalReaderSettings​(URL inputSource,
                                            String countryName,
                                            DayOfWeek dayOfWeek,
                                            RouteTypeChoice routeTypeChoice)
        Constructor with user defined source locale
        Parameters:
        inputSource - to use
        countryName - to base source locale on
        dayOfWeek - to filter on
        routeTypeChoice - to apply
    • Method Detail

      • getServiceSettings

        public GtfsServicesReaderSettings getServiceSettings()
        provide access to the service reader settings
        Returns:
        network reader settings
      • getZoningSettings

        public GtfsZoningReaderSettings getZoningSettings()
        provide access to the zoning reader settings
        Returns:
        zoning reader settings
      • getCountryName

        public String getCountryName()
      • getInputSource

        public URL getInputSource()
      • setInputFile

        public void setInputFile​(String inputFile)
        Set the input file to use, which is internally converted into a URL
        Parameters:
        inputFile - to use
      • getStopToStopPathSearchPhysicalCostApproach

        public String getStopToStopPathSearchPhysicalCostApproach()
        The methodology used to find the paths between stops by means of its full canonical class name which is assumed to be supported by PLANit as a valid cost generating method
        Returns:
        stopToStopPathSearchPhysicalCostApproach