Uses of Interface
org.goplanit.utils.mode.Mode
-
-
Uses of Mode in org.goplanit.assignment
Method parameters in org.goplanit.assignment with type arguments of type Mode Modifier and Type Method Description protected abstract voidStaticTrafficAssignment. executeTimePeriod(TimePeriod timePeriod, Set<Mode> modes)Execute the time period for the registered modes -
Uses of Mode in org.goplanit.assignment.algorithmb
Method parameters in org.goplanit.assignment.algorithmb with type arguments of type Mode Modifier and Type Method Description protected voidAlgorithmB. executeTimePeriod(TimePeriod timePeriod, Set<Mode> modes)Execute the time period for the registered modesvoidAlgorithmBEquilibration. executeTimePeriod(TimePeriod timePeriod, Set<Mode> modes)The method that performs the equilibration for a given time period using AlgorithmB -
Uses of Mode in org.goplanit.assignment.ltm.sltm
Methods in org.goplanit.assignment.ltm.sltm with parameters of type Mode Modifier and Type Method Description protected doublePasFlowShiftExecutor. determineEntrySegmentFlowShift(EdgeSegment entrySegment, Mode theMode, AbstractPhysicalCost physicalCost, AbstractVirtualCost virtualCost, StaticLtmLoadingBushBase<?> networkLoading)For the given PAS-entrysegment determine the flow shift to apply from the high cost to the low cost segment.protected voidStaticLtmAssignmentStrategy. executeNetworkCostsUpdate(Mode theMode, boolean updateOnlyPotentiallyBlockingNodeCosts, double[] costsToUpdate)Perform an update of the network wide costs where a partial update is applied in case only potentially blocking nodes are updated during the loadingOptional<?>StaticLtmLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.double[]StaticLtmSimulationData. getLinkSegmentTravelTimePcuH(Mode theMode)Collect the travel time costs for a given mode supported by the loading of this dataOptional<Boolean>StaticLtmLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)Returns true if there is a flow through the current specified link segment for the specified modeabstract booleanStaticLtmAssignmentStrategy. performIteration(Mode theMode, double[] costsToUpdate, int iterationIndex)Perform a single iteration where we perform a loading and then an equilibration step resulting in updated costsbooleanStaticLtmBushStrategyBase. performIteration(Mode theMode, double[] costsToUpdate, int iterationIndex)Perform an iteration by: 1.booleanStaticLtmPathStrategy. performIteration(Mode theMode, double[] costsToUpdate, int iterationIndex)Perform a single iteration where we perform a loading and then an equilibration step resulting in updated costsbooleanPasFlowShiftExecutor. run(Mode theMode, AbstractPhysicalCost physicalCost, AbstractVirtualCost virtualCost, StaticLtmLoadingBushBase<?> networkLoading, double factor)We account for the fact that per bush different incoming links to the PAS might be used so each incoming link that is used and that is congested should be the basis for the flow shift instead of the first congested one within the PAS.voidStaticLtmSimulationData. setLinkSegmentTravelTimePcuH(Mode theMode, double[] travelTimeCostHour)Set the costs(travel time in hours per link segment) for a given mode supported by the loading of this datavoidStaticLtmAssignmentStrategy. updateTimePeriod(TimePeriod timePeriod, Mode mode, OdDemands odDemands)Invoked before start of equilibrating a new time periodConstructor parameters in org.goplanit.assignment.ltm.sltm with type arguments of type Mode Constructor Description StaticLtmSimulationData(TimePeriod timePeriod, Collection<Mode> supportedModes, long numberOfTotalLinkSegments)Constructor -
Uses of Mode in org.goplanit.assignment.ltm.sltm.loading
Methods in org.goplanit.assignment.ltm.sltm.loading that return Mode Modifier and Type Method Description ModeStaticLtmNetworkLoading. getSupportedMode()The supported modes of this loadingMethods in org.goplanit.assignment.ltm.sltm.loading with parameters of type Mode Modifier and Type Method Description voidStaticLtmNetworkLoading. initialiseInputs(Mode mode, OdDemands odDemands, TransportModelNetwork network)Initialise the loading with the given inputs -
Uses of Mode in org.goplanit.assignment.traditionalstatic
Methods in org.goplanit.assignment.traditionalstatic that return types with arguments of type Mode Modifier and Type Method Description Map<Mode,ModeData>TraditionalStaticAssignmentSimulationData. getModeSpecificData()Collect the data per mode for all modesMethods in org.goplanit.assignment.traditionalstatic with parameters of type Mode Modifier and Type Method Description Optional<?>TraditionalStaticAssignmentLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)Return the value of a specified output property of a link segmentdouble[]TraditionalStaticAssignmentSimulationData. getModalLinkSegmentCosts(Mode mode)Retrieve the link segment costs for a specified modeOdPathMatrixTraditionalStaticAssignmentSimulationData. getOdPathMatrix(Mode mode)Retrieve the current OD path for a specified modeOptional<OdPathMatrix>TraditionalStaticPathOutputTypeAdapter. getOdPathMatrix(Mode mode)Retrieve an OD path matrix object for a specified modeOptional<OdSkimMatrix>TraditionalStaticAssignmentOdOutputTypeAdapter. getOdSkimMatrix(OdSkimSubOutputType odSkimOutputType, Mode mode)Retrieve an OD skim matrix for a specified OD skim output type and modeOdSkimMatrixTraditionalStaticAssignmentSimulationData. getOdSkimMatrix(OdSkimSubOutputType odSkimOutputType, Mode mode)Retrieve the skim matrix for a specified mode and skim output typeMap<OdSkimSubOutputType,OdSkimMatrix>TraditionalStaticAssignmentSimulationData. getSkimMatrixMap(Mode mode)Retrieve the Map of OD Skim matrices for all active OD Skim Output Types for a specified modeOptional<Boolean>TraditionalStaticAssignmentLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)Returns true if there is a flow through the current specified link segment for the specified modevoidTraditionalStaticAssignmentSimulationData. resetPathMatrix(Mode mode, OdZones zones)Reset the path matrix to empty for a specified mode for all activatedvoidTraditionalStaticAssignmentSimulationData. resetSkimMatrix(Mode mode, OdZones zones, OdOutputTypeConfiguration originDestinationOutputTypeConfiguration)Reset the skim matrix to all zeroes for a specified mode for all activated skim output typesvoidTraditionalStaticAssignmentSimulationData. setModalLinkSegmentCosts(Mode mode, double[] modalLinkSegmentCosts)Set the link segment costs for a specified modeMethod parameters in org.goplanit.assignment.traditionalstatic with type arguments of type Mode Modifier and Type Method Description protected voidTraditionalStaticAssignment. executeTimePeriod(TimePeriod timePeriod, Set<Mode> modes)Perform assignment for a given time period using Dijkstra's algorithm -
Uses of Mode in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type Mode Modifier and Type Method Description static Function<Mode,String>IdMapperFunctionFactory. createModeIdMappingFunction(IdMapperType idMapper)create a function that takes a mode and generates the appropriate id based on the user configurationFunction<Mode,String>PlanitComponentIdMapper. getModeIdMapper()get id mapper for modes -
Uses of Mode in org.goplanit.converter.zoning
Methods in org.goplanit.converter.zoning with parameters of type Mode Modifier and Type Method Description static Collection<LinkSegment>ZoningConverterUtils. findAccessEntryLinkSegmentsForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node node, Mode accessMode, String countryName, boolean mustAvoidCrossingTraffic, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, Function<Node,String> getOverwrittenWaitingAreaSourceId, PlanitJtsCrsUtils geoUtils)Find the link segments that are accessible for the given access link, node, mode combination taking into account the relative location of the transfer zone if needed and mode compatibility.static Collection<? extends LinkSegment>ZoningConverterUtils. findAccessLinkSegmentsForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Mode accessMode, String countryName, boolean mustAvoidCrossingTraffic, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, Function<Node,String> getOverwrittenWaitingAreaSourceId, PlanitJtsCrsUtils geoUtils)static org.locationtech.jts.geom.PointZoningConverterUtils. findConnectoidLocationForWaitingAreaOnLink(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Mode accessMode, double maxAllowedDistanceMeters, Function<Node,String> getOverwrittenWaitingAreaSourceIdForNode, Function<org.locationtech.jts.geom.Point,String> getOverwrittenWaitingAreaSourceIdForPoint, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Deprecated.static org.locationtech.jts.geom.PointZoningConverterUtils. findConnectoidLocationForWaitingAreaOnLinkSegment(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Mode accessMode, double maxAllowedDistanceMeters, Function<Node,String> getOverwrittenWaitingAreaSourceIdForNode, Function<org.locationtech.jts.geom.Point,String> getOverwrittenWaitingAreaSourceIdForPoint, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)find a suitable connectoid location on the given link based on the constraints that it must be able to reside on a link segment that is in the correct relative position to the transfer zone and supports the access mode on at least one of the designated link segment(s) that is eligible (if any).static booleanZoningConverterUtils. hasWaitingAreaPotentialAccessLinkSegmentForLinkNodeModeCombination(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if any valid access link segments exist for the given combination of link, one of its extreme nodes, and the access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.static booleanZoningConverterUtils. isAvoidCrossTrafficForAccessMode(Mode accessMode)Verify if the waiting area for an access mode's access link(segment) must be on the logical relative location (left hand side for left hand drive) or not.static <T> booleanZoningConverterUtils. isAvoidCrossTrafficForAccessModeOrAccessNodeWaitingAreaOverwritten(Mode accessMode, String waitingAreaSourceId, T accessEntity, Function<T,String> getOverwrittenWaitingAreaSourceId)Verify if the waiting area for an access mode's access link(segment) must be on the logical relative location (left hand side for left hand drive) or not.static booleanZoningConverterUtils. isPotentialAccessEntryLinkSegmentForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLinkSegment accessLinkSegment, String accessLinkSourceId, Node accessNode, Mode accessMode, Function<Node,String> getOverwrittenWaitingAreaSourceId, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, String countryName, PlanitJtsCrsUtils geoUtils)Verify if given link segment is potentially viable as access link segment for the given extreme node and access mode, taking into account any explicit overwrites that may exist that are not bounded by any limitations on compatibility.Method parameters in org.goplanit.converter.zoning with type arguments of type Mode Modifier and Type Method Description static DirectedConnectoidZoningConverterUtils. createAndRegisterDirectedConnectoid(Zoning zoning, TransferZone accessZone, boolean downstreamAccessNode, MacroscopicLinkSegment linkSegment, Set<Mode> allowedModes)create directed connectoid for the link segment provided, all related to the given transfer zone and with access modes provided.static Collection<DirectedConnectoid>ZoningConverterUtils. createAndRegisterDirectedConnectoids(Zoning zoning, TransferZone transferZone, Node accessNode, Iterable<? extends MacroscopicLinkSegment> linkSegments, Set<Mode> allowedModes)create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided. -
Uses of Mode in org.goplanit.cost
Methods in org.goplanit.cost with parameters of type Mode Modifier and Type Method Description static double[]CostUtils. createAndPopulateModalSegmentCost(Mode mode, AbstractPhysicalCost physicalCost, UntypedPhysicalNetwork network)Populate cost array with only physical link segment costs based on the concrete cost classes, for given mode.static double[]CostUtils. createAndPopulateModalSegmentCost(Mode mode, VirtualCost virtualCost, AbstractPhysicalCost physicalCost, UntypedPhysicalNetwork network, Zoning zoning)Populate entire cost array with both virtual and non-virtual link segment costs based on the concrete cost classes, for given modedoubleCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, T edgeSegment)Get the first derivative of the used travel time computation method towards the edge segment (in) flow rate in PCU per hour, i.e.doubleCost. getGeneralisedCost(Mode mode, T edgeSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleCost. getTravelTimeCost(Mode mode, T edgeSegment)Returns the generalised cost of travel along an edge segment for a specified modestatic voidCostUtils. populateModalPhysicalLinkSegmentCosts(Mode mode, AbstractPhysicalCost physicalCost, UntypedPhysicalNetwork network, double[] costArray)Populate part of cost array with physical link segment costs based on the concrete cost class, for a given modestatic voidCostUtils. populateModalVirtualLinkSegmentCosts(Mode mode, VirtualCost virtualCost, VirtualNetwork virtualNetwork, double[] costArray)Populate part of cost array for virtual link segment costs based on the concrete cost class, for a given mode -
Uses of Mode in org.goplanit.cost.physical
Methods in org.goplanit.cost.physical that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>BprLinkTravelTimeCost.BprParameters. getModes()the registered modesMethods in org.goplanit.cost.physical with parameters of type Mode Modifier and Type Method Description protected doubleBprLinkTravelTimeCost. computeCostInHours(MacroscopicLinkSegment linkSegment, Mode mode, double flowPcuPerHour)BPR function computation for.Pair<Double,Double>BprLinkTravelTimeCost.BprParameters. getAlphaBetaParameters(Mode mode)Retrieve Pair containing alpha and beta values for a specified modedoubleBprLinkTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)Get the first derivative of the used travel time computation method towards the edge segment (in) flow rate in PCU per hour, i.e.doubleFreeFlowLinkTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)Derivative of free flow travel time is zerodoubleSteadyStateTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)First Derivative towards inflowRate.doubleBprLinkTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)Return the travel time for the current link for a given mode If the input data are invalid, this method returns a negative value.doubleFreeFlowLinkTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)Return the free flow travel time for the current link for a given mode If the input data are invalid, this method returns a negative value.doubleSteadyStateTravelTimeCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)Return the average travel time for the current link segment for a given modedoubleBprLinkTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleFreeFlowLinkTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleSteadyStateTravelTimeCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the generalised cost of travel along an edge segment for a specified modevoidAbstractPhysicalCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id.voidBprLinkTravelTimeCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)populate the cost array with the BPR link travel times for all link segments for the specified modevoidSteadyStateTravelTimeCost. populateWithCost(UntypedPhysicalLayer<?,?,MacroscopicLinkSegment> physicalLayer, Mode mode, double[] costToFill)Populate the cost array with the free flow link travel times for all link segments for the specified modevoidBPRConfigurator. setDefaultParameters(Mode mode, double alpha, double beta)Set the default alpha and beta values for a modevoidBPRConfigurator. setDefaultParameters(MacroscopicLinkSegmentType macroscopicLinkSegmentType, Mode mode, double alpha, double beta)Set the default alpha and beta values for a given link type and modevoidBprLinkTravelTimeCost. setDefaultParameters(Mode mode, double alpha, double beta)Set the default alpha and beta values for a modevoidBprLinkTravelTimeCost. setDefaultParameters(MacroscopicLinkSegmentType macroscopicLinkSegmentType, Mode mode, double alpha, double beta)Set the default alpha and beta values for a given link type and modevoidBPRConfigurator. setParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)Set the alpha and beta values for a given link segment and modevoidBprLinkTravelTimeCost. setParameters(MacroscopicLinkSegment linkSegment, Mode mode, double alpha, double beta)Set the alpha and beta values for a given link segment and mode -
Uses of Mode in org.goplanit.cost.physical.initial
Fields in org.goplanit.cost.physical.initial with type parameters of type Mode Modifier and Type Field Description protected Map<Mode,Map<Long,Double>>InitialModesLinkSegmentCost. costPerModeAndLinkSegmentMap to store initial cost for each mode and link segment, not linked to a particular time periodMethods in org.goplanit.cost.physical.initial with parameters of type Mode Modifier and Type Method Description doubleInitialMacroscopicLinkSegmentCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)Not supported returns -infinity for all calls and logs severe warningdoubleInitialModesLinkSegmentCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, MacroscopicLinkSegment linkSegment)Not supported returns -infinity for all calls and logs severe warningdoubleInitialMacroscopicLinkSegmentCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the initial cost for each link segment and mode for time period agnostic registrations.doubleInitialModesLinkSegmentCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the initial cost for each link segment and mode.abstract doubleInitialPhysicalCost. getGeneralisedCost(Mode mode, MacroscopicLinkSegment linkSegment)get the initial cost for a specified mode and link segmentprotected doubleInitialMacroscopicLinkSegmentCost. getSegmentCost(InitialModesLinkSegmentCost initialCostsByMode, Mode mode, MacroscopicLinkSegment linkSegment)Returns the initial cost.doubleInitialMacroscopicLinkSegmentCost. getSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment)Returns the initial cost for each link segment and mode for time period specific registrations.abstract doubleInitialPhysicalCost. getSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment)get the initial cost for a specified mode and link segmentdoubleInitialMacroscopicLinkSegmentCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleInitialModesLinkSegmentCost. getTravelTimeCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the generalised cost of travel along an edge segment for a specified modebooleanInitialMacroscopicLinkSegmentCost. isSegmentCostsSetForMode(Mode mode)Are link segment costs available for the given mode (without time period)booleanInitialMacroscopicLinkSegmentCost. isSegmentCostsSetForMode(TimePeriod timePeriod, Mode mode)Are link segment costs available for the given mode (without time period)booleanInitialModesLinkSegmentCost. isSegmentCostsSetForMode(Mode mode)Are link segment costs available for the given modeabstract booleanInitialPhysicalCost. isSegmentCostsSetForMode(Mode mode)Are link segment costs available for the given mode (without time period)abstract booleanInitialPhysicalCost. isSegmentCostsSetForMode(TimePeriod timePeriod, Mode mode)Are link segment costs available for the given mode (without time period)voidFixedInitialMacroscopicLinkSegmentCost. setAllSegmentCosts(Mode mode, double cost, int noLinkSegments)Sets a given cost for all link segments for a given modevoidInitialMacroscopicLinkSegmentCost. setSegmentCost(Mode mode, long linkSegmentId, double cost)same asInitialMacroscopicLinkSegmentCost.setSegmentCost(Mode, MacroscopicLinkSegment, double)only based on link segment's idvoidInitialMacroscopicLinkSegmentCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)Set the initial cost for a specified mode and link segmentvoidInitialMacroscopicLinkSegmentCost. setSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment, double cost)Set the initial cost for a specified mode and link segmentvoidInitialModesLinkSegmentCost. setSegmentCost(Mode mode, long linkSegmentId, double cost)Sets the initial cost for each link segment and modevoidInitialModesLinkSegmentCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)Sets the initial cost for each link segment and modeabstract voidInitialPhysicalCost. setSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment, double cost)Set the initial cost for a specified mode and link segmentabstract voidInitialPhysicalCost. setSegmentCost(TimePeriod timePeriod, Mode mode, MacroscopicLinkSegment linkSegment, double cost)Set the initial cost for a specified mode and link segment -
Uses of Mode in org.goplanit.cost.virtual
Methods in org.goplanit.cost.virtual with parameters of type Mode Modifier and Type Method Description doubleFixedConnectoidTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, ConnectoidSegment connectoidSegment)fixed cost so derivative is always zerodoubleSpeedConnectoidTravelTimeCost. getDTravelTimeDFlow(boolean uncongested, Mode mode, ConnectoidSegment connectoidSegment)Fixed, so derivative is always zerodoubleFixedConnectoidTravelTimeCost. getGeneralisedCost(Mode mode, ConnectoidSegment connectoidSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleSpeedConnectoidTravelTimeCost. getGeneralisedCost(Mode mode, ConnectoidSegment connectoidSegment)Return the connectoid travel time using speeddoubleFixedConnectoidTravelTimeCost. getTravelTimeCost(Mode mode, ConnectoidSegment connectoidSegment)Returns the generalised cost of travel along an edge segment for a specified modedoubleSpeedConnectoidTravelTimeCost. getTravelTimeCost(Mode mode, ConnectoidSegment connectoidSegment)Returns the generalised cost of travel along an edge segment for a specified modevoidFixedConnectoidTravelTimeCost. populateWithCost(VirtualNetwork virtualNetwork, Mode mode, double[] costToFill)Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its idvoidSpeedConnectoidTravelTimeCost. populateWithCost(VirtualNetwork virtualNetwork, Mode mode, double[] costToFill)Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its idvoidVirtualCost. populateWithCost(VirtualNetwork virtualNetwork, Mode mode, double[] costToFill)Invoker expects (mode specific ) costs in passed in array to be filled, where each entry signifies a link segment by its id -
Uses of Mode in org.goplanit.demands
Fields in org.goplanit.demands with type parameters of type Mode Modifier and Type Field Description protected TreeMap<Long,TreeMap<Mode,OdDemands>>Demands. odDemandsByTimePeriodAndModeTrip demand matricesMethods in org.goplanit.demands that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>Demands. getRegisteredModesForTimePeriod(TimePeriod timePeriod)Get modes registered for the given time periodMethods in org.goplanit.demands with parameters of type Mode Modifier and Type Method Description protected UserClassUserClassesFactory. createNew(String name, Mode mode, TravellerType travelerType)Create a newly created instance without registering on the containerOdDemandsDemands. get(Mode mode, TimePeriod timePeriod)Get an OdDemand by mode and time period in pcu/hourUserClassUserClassesFactory. registerNew(String name, Mode mode, TravellerType travelerType)register a new entry on the container and return itOdDemandsDemands. registerOdDemandPcuHour(TimePeriod timePeriod, Mode mode, OdDemands odDemandsPcuHour)Register provided odDemand -
Uses of Mode in org.goplanit.geoio.converter.network.featurecontext
Method parameters in org.goplanit.geoio.converter.network.featurecontext with type arguments of type Mode Modifier and Type Method Description static PlanitLinkSegmentFeatureTypeContextPlanitLinkSegmentFeatureTypeContext. create(NetworkIdMapper networkIdMapper, Collection<? extends Mode> supportedModes)Factory methodConstructor parameters in org.goplanit.geoio.converter.network.featurecontext with type arguments of type Mode Constructor Description PlanitLinkSegmentFeatureTypeContext(NetworkIdMapper networkIdMapper, Collection<? extends Mode> supportedModes)Constructor -
Uses of Mode in org.goplanit.geoio.converter.service
Methods in org.goplanit.geoio.converter.service with parameters of type Mode Modifier and Type Method Description protected <TT extends ManagedId>
org.geotools.data.DataStoreGeometryRoutedServicesWriter. findDataStore(PlanitEntityFeatureTypeContext<TT> featureContext, Mode mode, Path fullOutputPath)Find data store to use, if not present, create it if possibleprotected voidGeometryRoutedServicesWriter. writeRoutedServicesLayerServices(RoutedServicesLayer layer, Mode layerMode, org.opengis.feature.simple.SimpleFeatureType featureType, PlanitRoutedServiceFeatureTypeContext featureDescription, String layerLogPrefix)Writer the services of the layer mode combination -
Uses of Mode in org.goplanit.geoio.util
Methods in org.goplanit.geoio.util with parameters of type Mode Modifier and Type Method Description static StringModeShortNameConverter. asShortName(Mode mode, Function<Mode,String> modeIdMapper)As short name with 5 characters or less.static org.geotools.data.DataStoreGeoIODataStoreManager. createDataStore(Class<?> dataStoreReferenceClass, Mode mode, Path outputFileNameWithPath)For a given PLANit entity that we persist to file, we track its datastore here to avoid overhead of recreating itstatic Set<PlanitEntityFeatureTypeContext<? extends ManagedId>>GeoIoFeatureTypeBuilder. createRoutedServicesLayerFeatureContexts(RoutedServicesIdMapper primaryIdMapper, Mode layerMode, ServiceNetworkIdMapper serviceNetworkIdMapper)Construct all PLANit entities that have an associated GIS feature context containing the information required for persistence (for routed services entities).static org.geotools.data.DataStoreGeoIODataStoreManager. getDataStore(Class<?> dataStoreReferenceClass, Mode mode)Collect a registered datastore for a given PLANit entity class and mode (in case multiple modes require multiple stores with one store per type), if not available null is returned.Method parameters in org.goplanit.geoio.util with type arguments of type Mode Modifier and Type Method Description static StringModeShortNameConverter. asShortName(Mode mode, Function<Mode,String> modeIdMapper)As short name with 5 characters or less. -
Uses of Mode in org.goplanit.gtfs.converter
Methods in org.goplanit.gtfs.converter that return Mode Modifier and Type Method Description ModeGtfsConverterHandlerData. getPrimaryPlanitModeIfActivated(RouteType gtfsMode)Collect PLANit mode if it is known as being activated, otherwise return nullMethods in org.goplanit.gtfs.converter that return types with arguments of type Mode Modifier and Type Method Description SortedSet<Mode>GtfsConverterHandlerData. expandWithCompatibleModes(Mode planitMode)Expand the mode to all compatible modes (if any) including the mode itselfSet<Mode>GtfsConverterHandlerData. getActivatedPlanitModesByGtfsMode()activated planit modes, note that initialise should have been called before this is populatedList<Mode>GtfsConverterHandlerData. getCompatiblePlanitModesIfActivated(RouteType gtfsMode)Collect PLANit modes if it is known as being activated and compatible (unmodifiable), otherwise return nullSortedSet<Mode>GtfsConverterHandlerData. getCompatiblePlanitModesIfActivated(Mode planitMode)Collect compatible PLANit modes from a given PLANit mode (if any).Methods in org.goplanit.gtfs.converter with parameters of type Mode Modifier and Type Method Description SortedSet<Mode>GtfsConverterHandlerData. expandWithCompatibleModes(Mode planitMode)Expand the mode to all compatible modes (if any) including the mode itselfSortedSet<Mode>GtfsConverterHandlerData. getCompatiblePlanitModesIfActivated(Mode planitMode)Collect compatible PLANit modes from a given PLANit mode (if any). -
Uses of Mode in org.goplanit.gtfs.converter.intermodal
Methods in org.goplanit.gtfs.converter.intermodal that return Mode Modifier and Type Method Description ModeGtfsServicesAndZoningIntegratorData. getExpectedModeForServiceLeg(ServiceLeg serviceLeg)Determine the expected mode to be used for a given service legModeGtfsServicesAndZoningIntegratorData. getPrimaryPlanitModeIfActivated(RouteType gtfsMode)Collect PLANit mode if it is known as being activated, otherwise return nullMethods in org.goplanit.gtfs.converter.intermodal that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>GtfsServicesAndZoningIntegratorData. expandWithCompatibleModes(Mode planitMode)Expand the mode to all compatible modes (if any) including the mode itselfCollection<Mode>GtfsServicesAndZoningIntegratorData. getActivatedPlanitModes()activated planit modes, note that initialise should have been called before this is populatedList<Mode>GtfsServicesAndZoningIntegratorData. getCompatiblePlanitModesIfActivated(RouteType gtfsMode)Collect PLANit modes if it is known as being activated and compatible, otherwise return nullSet<Mode>GtfsServicesAndZoningIntegratorData. getCompatiblePlanitModesIfActivated(Mode planitMode)Collect compatible PLANit modes from a given PLANit mode (if any).Methods in org.goplanit.gtfs.converter.intermodal with parameters of type Mode Modifier and Type Method Description Set<Mode>GtfsServicesAndZoningIntegratorData. expandWithCompatibleModes(Mode planitMode)Expand the mode to all compatible modes (if any) including the mode itselfSet<Mode>GtfsServicesAndZoningIntegratorData. getCompatiblePlanitModesIfActivated(Mode planitMode)Collect compatible PLANit modes from a given PLANit mode (if any).ShortestPathAStarGtfsServicesAndZoningIntegratorData. getShortestPathAlgoByMode(Mode mode)Shortest path algorithm by mode initialised with the costs for that mode per link segment, requiresGtfsServicesAndZoningIntegratorData.initialise()to be invoked beforehand -
Uses of Mode in org.goplanit.gtfs.converter.service.handler
Methods in org.goplanit.gtfs.converter.service.handler that return Mode Modifier and Type Method Description ModeGtfsServicesHandlerData. getServiceLegMode(ServiceLeg serviceLeg)find mode attributed to the given service leg if anyMethods in org.goplanit.gtfs.converter.service.handler with parameters of type Mode Modifier and Type Method Description voidGtfsServicesHandlerData. registerServiceLegMode(ServiceLeg parentLeg, Mode serviceLegMode)Mark the service leg as compatible with the given mode, and this given mode only. -
Uses of Mode in org.goplanit.gtfs.converter.zoning.handler
Methods in org.goplanit.gtfs.converter.zoning.handler that return types with arguments of type Mode Modifier and Type Method Description List<Mode>GtfsZoningHandlerData. getSupportedPtModes(GtfsStop gtfsStop)Collect the mapped PLANit pt mode using this GTFS stopSet<Mode>GtfsZoningHandlerData. getSupportedPtModesIn(TransferZone planitTransferZone, Set<Mode> modesFilter)The pt services modes supported on the given transfer zoneSet<Mode>GtfsZoningHandlerTransferZoneData. getSupportedPtModesIn(TransferZone planitTransferZone, Set<Mode> modesFilter)The pt services modes supported on the given transfer zoneMethod parameters in org.goplanit.gtfs.converter.zoning.handler with type arguments of type Mode Modifier and Type Method Description Set<Mode>GtfsZoningHandlerData. getSupportedPtModesIn(TransferZone planitTransferZone, Set<Mode> modesFilter)The pt services modes supported on the given transfer zoneSet<Mode>GtfsZoningHandlerTransferZoneData. getSupportedPtModesIn(TransferZone planitTransferZone, Set<Mode> modesFilter)The pt services modes supported on the given transfer zonevoidGtfsZoningHandlerData. registerTransferZoneToConnectoidModes(TransferZone transferZone, DirectedConnectoid directedConnectoid, Set<Mode> activatedPlanitModes)Update registered and activated pt modes and their access information on transfer zonevoidGtfsZoningHandlerTransferZoneData. registerTransferZoneToConnectoidModes(TransferZone transferZone, DirectedConnectoid directedConnectoid, Collection<Mode> activatedPlanitModes)Update registered and activated pt modes and their access information on transfer zone -
Uses of Mode in org.goplanit.gtfs.util
Methods in org.goplanit.gtfs.util that return types with arguments of type Mode Modifier and Type Method Description static HashMap<RouteType,List<Mode>>GtfsConverterReaderHelper. createCombinedActivatedPlanitModes(GtfsConverterReaderSettingsWithModeMapping settings, Modes allAvailablePlanitModes)Based on the settings which define both custom and predefined mappings, we construct the instance mappings from Gtfs mode to PLANit mode, e.g., when a predefined mode type is configured, it results in an instance of that type on a network, this instance should be available in the passed in #allAvailablePlanitMdes, we then combine these mappings with the custom mode mappings on the settings to create a single consolidated set which can be used during parsing without the need of checking whether a mode is predefined or not.Methods in org.goplanit.gtfs.util with parameters of type Mode Modifier and Type Method Description static voidGtfsConverterReaderHelper. addToModeExternalId(Mode planitMode, RouteType gtfsMode)add GTFS type Id to PLANit mode external id (in case multiple GTFS modes are mapped to the same PLANit mode)static booleanGtfsTransferZoneHelper. isGtfsStopOnCorrectSideOfTransferZoneAccessLinkSegments(GtfsStop gtfsStop, Mode gtfsMode, TransferZone transferZone, GtfsZoningHandlerData data, boolean allConnectoidsMustMatch)Verify based on driving direction and orientation of the access link segment(s) whether the GTFS stop is a viable match for the found transfer zone in terms of being on the correct side of the road.Method parameters in org.goplanit.gtfs.util with type arguments of type Mode Modifier and Type Method Description static Collection<DirectedConnectoid>GtfsDirectedConnectoidHelper. createAndRegisterDirectedConnectoids(TransferZone transferZone, MacroscopicNetworkLayer networkLayer, Node accessNode, Iterable<? extends EdgeSegment> linkSegments, Set<Mode> allowedModes, GtfsZoningHandlerData data)create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided. -
Uses of Mode in org.goplanit.io.converter
Methods in org.goplanit.io.converter with parameters of type Mode Modifier and Type Method Description protected StringPlanitWriterImpl. getXmlModeReference(Mode mode, Function<Mode,String> modeIdMapper)Get the reference to use whenever a mode reference is encounteredMethod parameters in org.goplanit.io.converter with type arguments of type Mode Modifier and Type Method Description protected StringPlanitWriterImpl. getXmlModeReference(Mode mode, Function<Mode,String> modeIdMapper)Get the reference to use whenever a mode reference is encountered -
Uses of Mode in org.goplanit.io.converter.network
Method parameters in org.goplanit.io.converter.network with type arguments of type Mode Modifier and Type Method Description voidPlanitNetworkReader. parseLinkSegmentTypeAccessProperties(org.goplanit.xml.generated.XMLElementAccessGroup xmlAccessGroupProperties, MacroscopicLinkSegmentType linkSegmentType, Collection<Mode> defaultModes)parse the mode properties for given link segment type and populate the helper with them -
Uses of Mode in org.goplanit.io.output.formatter
Method parameters in org.goplanit.io.output.formatter with type arguments of type Mode Modifier and Type Method Description protected voidPlanItOutputFormatter. writeGeneralResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write General results for the current time period to the CSV fileprotected voidPlanItOutputFormatter. writeLinkResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write link results for the current time period to the CSV fileprotected voidPlanItOutputFormatter. writeOdResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Origin-Destination results for the time period to the CSV fileprotected voidPlanItOutputFormatter. writePathResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Path results for the time period to the CSV fileprotected voidPlanItOutputFormatter. writeSimulationResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Simulation results for the current time period to the CSV file -
Uses of Mode in org.goplanit.matsim.util
Methods in org.goplanit.matsim.util that return types with arguments of type Mode Modifier and Type Method Description Map<Mode,String>PlanitMatsimWriterModeMappingSettings. collectActivatedPlanitModeToMatsimModeMapping(MacroscopicNetworkLayerImpl networkLayer)Creating a mapping from actual PLANit modes in the network to the MATSIM mode mapping as per the configuration in this class instance -
Uses of Mode in org.goplanit.mode
Classes in org.goplanit.mode that implement Mode Modifier and Type Class Description classBicycleModethe predefined bicycle mode name: bicycle maxspeed (km/h): 15 pcu: 0.2 vehicular type: VEHICULAR motorisation: NON_MOTORISED track: ROAD use: PRIVATEclassBusModethe predefined bus mode name: bus maxspeed (km/h): 100 pcu: 2 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: PUBLICclassCarHighOccupancyModethe predefined car hov mode name: car_hov maxspeed (km/h): 130 pcu: 1 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: HIGH_OCCUPANCYclassCarModethe predefined car mode name: car maxspeed (km/h): 130 pcu: 1 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: PRIVATEclassCarShareModethe predefined car share mode name: car maxspeed (km/h): 130 pcu: 1 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: RIDE_SHAREclassFerryModeThe predefined ferry mode name: ferry maxspeed (km/h): 20 pcu: 6 vehicular type: VEHICULAR motorisation: MOTORISED track: WATER use: PUBLICclassGoodsModethe predefined goods vehicle mode, i.e., truck below 3.5 tonnes name: gv maxspeed (km/h): 100 pcu: 1.8 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: GOODSclassHeavyGoodsModethe predefined heavy goods vehicle mode, i.e., truck over 3.5 tonnes name: hgv maxspeed (km/h): 90 pcu: 2.5 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: GOODSclassLargeHeavyGoodsModethe predefined large heavy goods vehicle mode, i.e., large articulated truck, larger than heavy goods name: lhgv maxspeed (km/h): 90 pcu: 3 vehicular type: VEHICULAR motorisation: MOTORISED track: ROAD use: GOODSclassLightRailModethe predefined lightrail mode name: lightrail maxspeed (km/h): 70 pcu: 6 vehicular type: VEHICULAR motorisation: MOTORISED track: RAIL use: PUBLICclassModeImplA Mode is a user class feature representing a single form of transport (car, truck etc.).classMotorBikeModethe predefined motor bike mode name: bicycle maxspeed (km/h): 130 pcu: 0.5 vehicular type: VEHICULAR motorisation: NON_MOTORISED track: ROAD use: PRIVATEclassPedestrianModethe predefined pedestrian mode name: pedestrian maxspeed (km/h): 5 pcu: 0.1 vehicular type: NO_VEHICLE motorisation: NON_MOTORISED track: ROAD use: PRIVATEclassPredefinedModeImplA mode that has predefined fixed values so it can easily be understood, or mappedclassSubwayModethe predefined subway mode name: subway maxspeed (km/h): 60 pcu: 6 vehicular type: VEHICULAR motorisation: MOTORISED track: RAIL use: PUBLICclassTrainModethe predefined train mode name: train maxspeed (km/h): 140 pcu: 10 vehicular type: VEHICULAR motorisation: MOTORISED track: RAIL use: PUBLICclassTramModethe predefined tram mode name: tram maxspeed (km/h): 40 pcu: 3 vehicular type: VEHICULAR motorisation: MOTORISED track: RAIL use: PUBLICMethods in org.goplanit.mode that return Mode Modifier and Type Method Description ModeModesImpl. getByXmlId(String xmlId)Retrieve a Mode by its XML IdModeModeFactoryImpl. registerNewCustomMode(String name, double maxSpeed, double pcu, PhysicalModeFeatures physicalFeatures, UsabilityModeFeatures usabilityFeatures)Create and register new modeMethod parameters in org.goplanit.mode with type arguments of type Mode Modifier and Type Method Description ModesImplModesImpl. deepCloneWithMapping(BiConsumer<Mode,Mode> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperModesImplModesImpl. deepCloneWithMapping(BiConsumer<Mode,Mode> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructor parameters in org.goplanit.mode with type arguments of type Mode Constructor Description ModesImpl(ModesImpl other, boolean deepCopy, BiConsumer<Mode,Mode> mapper)Copy Constructor, also creates a new factory with reference to this containerModesImpl(ModesImpl other, boolean deepCopy, BiConsumer<Mode,Mode> mapper)Copy Constructor, also creates a new factory with reference to this container -
Uses of Mode in org.goplanit.network
Fields in org.goplanit.network with type parameters of type Mode Modifier and Type Field Description protected Map<Mode,String>MacroscopicNetworkLayerConfigurator. modeToLayerXmlIdtrack mode to layer mappingMethods in org.goplanit.network with parameters of type Mode Modifier and Type Method Description ULayeredNetwork. getLayerByMode(Mode mode)collect a layer by modebooleanMacroscopicNetworkLayerConfigurator. isModeMappedToLayer(Mode mode, String layerXmlId)verify if mode is assigned to the layerStringMacroscopicNetworkLayerConfigurator. removeMode(Mode mode)remove mode from any layerStringMacroscopicNetworkLayerConfigurator. setModeToLayer(Mode mode, String layerXmlId)set mode to a layerConstructor parameters in org.goplanit.network with type arguments of type Mode Constructor Description LayeredNetwork(LayeredNetwork<U,T> other, boolean deepCopy, ManagedIdDeepCopyMapper<Mode> modeMapper, ManagedIdDeepCopyMapper<U> layerMapper)Copy constructor.MacroscopicNetwork(MacroscopicNetwork other, boolean deepCopy, ManagedIdDeepCopyMapper<Mode> modeMapper, ManagedIdDeepCopyMapper<MacroscopicNetworkLayer> layerMapper)Copy constructor.TopologicalLayerNetwork(TopologicalLayerNetwork<T,U> other, boolean deepCopy, ManagedIdDeepCopyMapper<Mode> modeMapper, ManagedIdDeepCopyMapper<T> layerMapper)Copy constructor.UntypedPhysicalNetwork(UntypedPhysicalNetwork<L,LS> other, boolean deepCopy, ManagedIdDeepCopyMapper<Mode> modeMapper, ManagedIdDeepCopyMapper<L> layerMapper)Copy constructor. -
Uses of Mode in org.goplanit.network.layer
Fields in org.goplanit.network.layer with type parameters of type Mode Modifier and Type Field Description protected Map<Long,Mode>NetworkLayerImpl. supportedModesthe modes supported by this layer (not owned)Methods in org.goplanit.network.layer that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>NetworkLayerImpl. getSupportedModes()collect the modes supported by this infrastructure layerMethods in org.goplanit.network.layer with parameters of type Mode Modifier and Type Method Description booleanNetworkLayerImpl. registerSupportedMode(Mode supportedMode)register a mode as supported by this layerMethod parameters in org.goplanit.network.layer with type arguments of type Mode Modifier and Type Method Description booleanNetworkLayerImpl. registerSupportedModes(Collection<Mode> supportedModes)register modes as supported by this layer -
Uses of Mode in org.goplanit.network.layer.macroscopic
Fields in org.goplanit.network.layer.macroscopic with type parameters of type Mode Modifier and Type Field Description protected Map<Mode,AccessGroupProperties>MacroscopicLinkSegmentTypeImpl. modeAccessPropertiesTrack access properties for each of the modes it supports for quick lookupsprotected Set<Mode>AccessGroupPropertiesImpl. supportedModesmodes supported by this access groupMethods in org.goplanit.network.layer.macroscopic that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>AccessGroupPropertiesImpl. getAccessModes()The access modes for this groupSet<Mode>MacroscopicLinkSegmentImpl. getAllowedModes()Returns the modes that are allowed on the link segment (unmodifiable)Set<Mode>MacroscopicLinkSegmentTypeImpl. getAllowedModes()return the available modes present in one of the access groups that have been registeredMethods in org.goplanit.network.layer.macroscopic with parameters of type Mode Modifier and Type Method Description voidAccessGroupPropertiesImpl. addAccessMode(Mode mode)Add mode to access group.doubleMacroscopicLinkSegmentImpl. computeFreeFlowTravelTimeHour(Mode mode)Compute the free flow travel time by mode, i.e.static AccessGroupPropertiesAccessGroupPropertiesFactory. create(double maxSpeedKmH, double criticalSpeedKmH, Mode... accessModes)Factory methodstatic AccessGroupPropertiesAccessGroupPropertiesFactory. create(double maxSpeedKmH, Mode... accessModes)Factory method adopting default value for critical speedstatic AccessGroupPropertiesAccessGroupPropertiesFactory. create(Mode... accessModes)Factory method allowing access for given modes without any further specification on their speedsstatic MacroscopicGridNetworkLayerGeneratorMacroscopicGridNetworkLayerGenerator. create(int rows, int columns, MacroscopicNetworkLayers layersContainer, Mode... modes)create the generator with a number of rows and columns.static voidAccessGroupPropertiesFactory. createOnLinkSegmentType(MacroscopicLinkSegmentType linkSegmentType, Mode modeToAdd, double maxSpeedKmH)Add access properties for the passed in modes to the passed in link segment type where we cap the max and critical speed based on the minimum of the mode's maximum speed and the maximum speedAccessGroupPropertiesMacroscopicLinkSegmentTypeImpl. getAccessProperties(Mode mode)Returns the mode properties for a specified mode along this linkbooleanMacroscopicLinkSegmentImpl. isModeAllowed(Mode mode)Returns whether vehicles of a specified mode are allowed through this linkbooleanMacroscopicLinkSegmentTypeImpl. isModeAllowed(Mode mode)Verify if mode is available on typevoidMacroscopicLinkSegmentTypeImpl. registerModeOnAccessGroup(Mode accessMode, AccessGroupProperties accessGroupProperties)Add a new access mode to an existing access group properties on this link segment typeMacroscopicLinkSegmentTypeMacroscopicLinkSegmentTypeFactoryImpl. registerNew(String name, double capacityPcuPerHour, double maximumDensityPcuPerKm, Mode allowedMode)Create and register new macroscopic link segment type on network.MacroscopicNetworkLayerMacroscopicNetworkLayerFactoryImpl. registerNew(Mode... supportedModes)Create a new macroscopic network layer instancebooleanAccessGroupPropertiesImpl. removeAccessMode(Mode toBeRemovedMode)Remove access modebooleanMacroscopicLinkSegmentTypeImpl. removeModeAccess(Mode toBeRemovedMode)Remove the mode properties for the passed in mode (if present)Method parameters in org.goplanit.network.layer.macroscopic with type arguments of type Mode Modifier and Type Method Description static AccessGroupPropertiesAccessGroupPropertiesFactory. create(double maxSpeedKmH, double criticalSpeedKmH, Collection<Mode> accessModes)Factory methodstatic AccessGroupPropertiesAccessGroupPropertiesFactory. create(double maxSpeedKmH, Collection<Mode> accessModes)Factory method adopting saem value for maximum and critical speedstatic AccessGroupPropertiesAccessGroupPropertiesFactory. create(Collection<Mode> accessModes)Factory method allowing access for given modes without any further specification on their speedsstatic voidAccessGroupPropertiesFactory. createOnLinkSegmentType(MacroscopicLinkSegmentType linkSegmentType, double maxSpeedKmH, Collection<Mode> modesToAdd)Add mode properties for the passed in modes to the passed in link segment type where we cap the max and critical speed based on the minimum of the mode's maximum speed and the maximum speedConstructors in org.goplanit.network.layer.macroscopic with parameters of type Mode Constructor Description MacroscopicGridNetworkLayerGenerator(int rows, int columns, MacroscopicNetworkLayers layersContainer, Mode... modes)ConstructorConstructor parameters in org.goplanit.network.layer.macroscopic with type arguments of type Mode Constructor Description AccessGroupPropertiesImpl(Collection<Mode> accessModes)access properties with only defining allowed modes without setting any restrictive speeds compared to the physical speed on the links it is applied on -
Uses of Mode in org.goplanit.network.layer.service
Methods in org.goplanit.network.layer.service that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>ServiceNetworkLayerImpl. getSupportedModes()Collect supported modes, obtained from parent layerMethods in org.goplanit.network.layer.service with parameters of type Mode Modifier and Type Method Description booleanServiceNetworkLayerImpl. registerSupportedMode(Mode supportedMode)A service network does not allow for registering supported modes as the supported modes are defined by its parent network already.booleanServiceNetworkLayerImpl. supports(Mode mode)Result delegate from underlying parent layerMethod parameters in org.goplanit.network.layer.service with type arguments of type Mode Modifier and Type Method Description booleanServiceNetworkLayerImpl. registerSupportedModes(Collection<Mode> supportedModes)A service network does not allow for registering supported modes as the supported modes are defined by its parent network already. -
Uses of Mode in org.goplanit.network.layers
Methods in org.goplanit.network.layers with parameters of type Mode Modifier and Type Method Description TTransportLayersImpl. get(Mode mode)Find the layer that supports the passed in mode. -
Uses of Mode in org.goplanit.osm.converter
Methods in org.goplanit.osm.converter that return Mode Modifier and Type Method Description ModeOsmModeConversionBase. getActivatedPlanitMode(String osmMode)Convenience method that collects the currently mapped PLANit modes (road or rail) for the given OSM modesMethods in org.goplanit.osm.converter that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>OsmModeConversionBase. getActivatedPlanitModes(Collection<String> osmModes)Convenience method that collects the currently mapped PLANit modes (road or rail) for the given OSM modesConstructor parameters in org.goplanit.osm.converter with type arguments of type Mode Constructor Description OsmModeConversionBase(OsmNetworkReaderSettings settings, Iterable<Mode> layerModes)Constructor -
Uses of Mode in org.goplanit.osm.converter.network
Methods in org.goplanit.osm.converter.network that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>OsmNetworkLayerModeConversion. getExplicitlyExcludedModes(Map<String,String> tags, boolean isForwardDirection, OsmNetworkReaderSettings settings)Collect explicitly excluded modes from the passed in tags.Set<Mode>OsmNetworkLayerModeConversion. getExplicitlyIncludedModes(Map<String,String> tags, boolean isForwardDirection, OsmNetworkReaderSettings settings)Collect explicitly included modes from the passed in tags.Method parameters in org.goplanit.osm.converter.network with type arguments of type Mode Modifier and Type Method Description voidOsmNetworkLayerModeConversion. updateAccessKeyBasedModeRestrictions(Map<String,String> tags, Set<Mode> includedModesToUpdate, Set<Mode> excludedModesToUpdate)Update the included and excluded mode sets passed in based on the key/value information available in the access=? tag. -
Uses of Mode in org.goplanit.osm.converter.zoning.handler.helper
Constructor parameters in org.goplanit.osm.converter.zoning.handler.helper with type arguments of type Mode Constructor Description OsmPublicTransportModeConversion(OsmNetworkReaderSettings networkSettings, OsmPublicTransportReaderSettings ptSettings, Iterable<Mode> layerModes)Constructor -
Uses of Mode in org.goplanit.osm.physical.network.macroscopic
Fields in org.goplanit.osm.physical.network.macroscopic with type parameters of type Mode Modifier and Type Field Description protected Map<Set<Mode>,Set<MacroscopicLinkSegmentType>>ModifiedLinkSegmentTypes.ModifiedLinkSegmentTypesModes. linkSegmentTypesWithAddedModesthe segment types with added modes compared to the originalprotected Map<Set<Mode>,Set<MacroscopicLinkSegmentType>>ModifiedLinkSegmentTypes.ModifiedLinkSegmentTypesModes. linkSegmentTypesWithRemovedModesthe segment types with removed modes compared to the originalMethod parameters in org.goplanit.osm.physical.network.macroscopic with type arguments of type Mode Modifier and Type Method Description booleanModifiedLinkSegmentTypes. addModifiedLinkSegmentType(MacroscopicLinkSegmentType original, MacroscopicLinkSegmentType modifiedLinkSegmentType, Set<Mode> addedModes, Set<Mode> removedModes)Add a modified link segment type based on the changes in mode support.booleanModifiedLinkSegmentTypes.ModifiedLinkSegmentTypesModes. addModifiedLinkSegmentType(MacroscopicLinkSegmentType modifiedLinkSegmentType, Set<Mode> addedModes, Set<Mode> removedModes)Add a modified link segment type based on the changes in mode support.booleanModifiedLinkSegmentTypes. containsModifiedLinkSegmentType(MacroscopicLinkSegmentType original, Set<Mode> addedModes, Set<Mode> removedModes)Verify if a modified link segment type with the provided added/removed modes exist for the given original link segment typebooleanModifiedLinkSegmentTypes.ModifiedLinkSegmentTypesModes. containsModifiedLinkSegmentType(Set<Mode> addedModes, Set<Mode> removedModes)Verify if a modified link segment type with the provided added/removed modes existprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createBridleway(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create bridleway type with defaults For horse riders.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createCycleway(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create cycleway type with defaults For designated cyclewaysprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createDefaultOsmLinkSegmentType(String nameKey, String nameValue, double capacityPcuPerhour, double maxSpeedKmh, Collection<? extends Mode> modes)Create an OSM default link segment type with name (namekey=)namevalueprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createFerry(double osmwayTypeMaxSpeed, Collection<? extends Mode> modes)Create ferry way type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createFootway(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create footway type with defaults For designated footpaths; i.e., mainly/exclusively for pedestrians.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createFunicular(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create funicular (rail) type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createLightRail(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create light rail (rail) type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createLivingStreet(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create living street type with defaults Roads which serve as an access to housing, without function of connecting settlements.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createMonoRail(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create mono rail (rail) type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createMotorway(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create motorway type with defaults restricted access major divided highway, normally with 2 or more running lanes plus emergency hard shoulder.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createMotorwayLink(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create motorway link type with defaults The link roads (sliproads/ramps) leading to/from a motorway from/to a motorway or lower class highway.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createNarrowGauge(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create narrow gauge(rail) type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createOsmLinkSegmentType(String externalId, double capacityPcuPerhour, double maxDensityPcuPerKm, double maxSpeed, Collection<? extends Mode> modes)Create OSM default link segment types with mode properties where we create multiple types if modes reside on different layers in which case only the modes on that layer will be added to the layer specific typeprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createOsmRailWayLinkSegmentType(String railwayTypeValue, double maxSpeed, Collection<? extends Mode> modes)Create a link segment type on the network based on the passed in OSM railway value tagsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createOsmRoadWayLinkSegmentType(String highwayTypeValue, double maxSpeed, Collection<? extends Mode> modes)Create a link segment type on the network based on the passed in OSM highway value tags.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createOsmWaterWayLinkSegmentType(String waterwayValue, double maxSpeed, Collection<? extends Mode> modes)Create a link segment type on the network based on the passed in OSM waterway route value tagsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createPath(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create path type with defaults A non-specific path either multi-use or unspecified usage, open to all non-motorized vehicles and not intended for motorized vehicles unless tagged so separatelyprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createPedestrian(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create pedestrian type with defaults For roads used mainly/exclusively for pedestrians in shopping and some residential areas which may allow access by motorised vehicles only for very limited periods of the day.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createPrimary(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create primary type with defaults The next most important roads in a country's system (after trunk).protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createPrimaryLink(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create primary link type with defaults The link roads (sliproads/ramps) leading to/from a primary road from/to a primary road or lower class highway.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createRail(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create rail type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createResidential(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create residential type with defaults Roads which serve as an access to housing, without function of connecting settlements.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createRoad(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create road type with defaults A road/way/street/motorway/etc.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createSecondary(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create secondary type with defaults The link roads (sliproads/ramps) leading to/from a primary road from/to a primary road or lower class highway.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createSecondaryLink(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create secondary link type with defaults The link roads (sliproads/ramps) leading to/from a secondary road from/to a secondary road or lower class highway.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createService(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create service type with defaults For access roads to, or within an industrial estate, camp site, business park, car park, alleys, etc.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createSteps(double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create step type with defaults For flights of steps (stairs) on footwaysprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createSubway(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create subway type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTertiary(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create tertiary type with defaults The next most important roads in a country's system (after secondary).protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTertiaryLink(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create tertiary link type with defaults The link roads (sliproads/ramps) leading to/from a tertiary road from/to a tertiary road or lower class highway.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTrack(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create track type with defaults Roads for mostly agricultural or forestry uses.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTram(double osmRailwayTypeMaxSpeed, Collection<? extends Mode> modes)Create tram type with defaultsprotected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTrunk(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create trunk type with defaults The most important roads in a country's system that aren't motorways.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createTrunkLink(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create trunk link type with defaults restricted access major divided highway, normally with 2 or more running lanes plus emergency hard shoulder.protected Map<NetworkLayer,MacroscopicLinkSegmentType>PlanitOsmNetwork. createUnclassified(String osmKey, double osmHighwayTypeMaxSpeed, Collection<? extends Mode> modes)Create unclassified type with defaults The least important through roads in a country's system – i.e.MacroscopicLinkSegmentTypeModifiedLinkSegmentTypes. getModifiedLinkSegmentType(MacroscopicLinkSegmentType original, Set<Mode> addedModes, Set<Mode> removedModes)Collect a modified link segment type with the provided added/removed modes if it existsMacroscopicLinkSegmentTypeModifiedLinkSegmentTypes.ModifiedLinkSegmentTypesModes. getModifiedLinkSegmentType(Set<Mode> addedModes, Set<Mode> removedModes)collect a modified link segment type with the provided added/removed modes exist -
Uses of Mode in org.goplanit.output
Method parameters in org.goplanit.output with type arguments of type Mode Modifier and Type Method Description booleanOutputManager. isAnyOutputPersisted(TimePeriod timePeriod, Set<Mode> modes, boolean converged)Verify if anything is actually persisted whenOutputManager.persistOutputData(TimePeriod, Set, boolean)is invoked given the underlying configurationvoidOutputManager. persistOutputData(TimePeriod timePeriod, Set<Mode> modes, boolean converged)Persist the output data for all registered output types -
Uses of Mode in org.goplanit.output.adapter
Methods in org.goplanit.output.adapter with parameters of type Mode Modifier and Type Method Description Optional<Long>MacroscopicLinkOutputTypeAdapter. getInfrastructureLayerIdForMode(Mode mode)collect the infrastructure layer id this mode resides onOptional<Long>MacroscopicLinkOutputTypeAdapterImpl. getInfrastructureLayerIdForMode(Mode mode)collect the infrastructure layer id this mode resides onOptional<?>MacroscopicLinkOutputTypeAdapter. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)Return the value of a specified output property of a link segmentOptional<?>MacroscopicLinkOutputTypeAdapterImpl. getLinkSegmentOutputPropertyValue(OutputProperty outputProperty, MacroscopicLinkSegment linkSegment, Mode mode, TimePeriod timePeriod)Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.default Optional<Double>MacroscopicLinkOutputTypeAdapter. getMaximumSpeed(MacroscopicLinkSegment linkSegment, Mode mode)Returns the maximum speed through the current link segmentOptional<?>OdOutputTypeAdapter. getOdOutputPropertyValue(OutputProperty outputProperty, OdDataIterator<?> odIterator, Mode mode, TimePeriod timePeriod)Returns the specified output property values for the current cell in the OD Matrix IteratorOptional<?>OdOutputTypeAdapterImpl. getOdOutputPropertyValue(OutputProperty outputProperty, OdDataIterator<?> odIterator, Mode mode, TimePeriod timePeriod)Returns the specified output property values for the current cell in the OD Matrix IteratorOptional<OdPathMatrix>PathOutputTypeAdapter. getOdPathMatrix(Mode mode)Retrieve an OD path matrix object for a specified modeOptional<OdSkimMatrix>OdOutputTypeAdapter. getOdSkimMatrix(OdSkimSubOutputType odSkimOutputType, Mode mode)Retrieve an OD skim matrix for a specified OD skim output type and modeprotected Optional<?>OutputTypeAdapterImpl. getOutputTypeIndependentPropertyValue(OutputProperty outputProperty, Mode mode, TimePeriod timePeriod)Returns the value of properties which are common to all output type adaptersOptional<?>PathOutputTypeAdapter. getPathOutputPropertyValue(OutputProperty outputProperty, OdDataIterator<? extends ManagedDirectedPath> odPathIterator, Mode mode, TimePeriod timePeriod, PathOutputIdentificationType pathOutputType)Returns the specified output property values for the current cell in the ODPathIteratorOptional<?>PathOutputTypeAdapterImpl. getPathOutputPropertyValue(OutputProperty outputProperty, OdDataIterator<? extends ManagedDirectedPath> odPathIterator, Mode mode, TimePeriod timePeriod, PathOutputIdentificationType pathOutputType)Returns the specified output property values for the current cell in the ODPathIteratorOptional<Boolean>MacroscopicLinkOutputTypeAdapter. isFlowPositive(MacroscopicLinkSegment linkSegment, Mode mode)Returns true if there is a flow through the current specified link segment for the specified mode -
Uses of Mode in org.goplanit.output.formatter
Methods in org.goplanit.output.formatter with parameters of type Mode Modifier and Type Method Description MemoryOutputIteratorMemoryOutputFormatter. getIterator(Mode mode, TimePeriod timePeriod, Integer iterationIndex, OutputType outputType)Returns a MemoryOutputIterator for the contents of the specified MultiKeyPlanItData mapObjectMemoryOutputFormatter. getOutputDataValue(Mode mode, TimePeriod timePeriod, Integer iterationIndex, OutputType outputType, OutputPropertyType outputProperty, Object[] keyValues)Get a specified data valueMethod parameters in org.goplanit.output.formatter with type arguments of type Mode Modifier and Type Method Description voidBaseOutputFormatter. persist(TimePeriod timePeriod, Set<Mode> modes, OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputAdapter outputAdapter)Write data to output filevoidOutputFormatter. persist(TimePeriod timePeriod, Set<Mode> modes, OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputAdapter outputAdapter)Persist the output data based on the passed in configuration and adapter (contained in the configuration)protected abstract voidBaseOutputFormatter. writeGeneralResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write General results for the current time period to the CSV fileprotected voidMemoryOutputFormatter. writeGeneralResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write General results for the current time period to the CSV fileprotected abstract voidBaseOutputFormatter. writeLinkResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write link results for the current time period to the CSV fileprotected voidMemoryOutputFormatter. writeLinkResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write link results for the current time period to Map in memoryprotected PlanItExceptionCsvFileOutputFormatter. writeLinkResultsForCurrentTimePeriodToCsvPrinter(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, org.apache.commons.csv.CSVPrinter csvPrinter)Write output values to the Link CSV file for the current iterationprotected abstract voidBaseOutputFormatter. writeOdResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Origin-Destination results for the time period to the CSV fileprotected voidMemoryOutputFormatter. writeOdResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Origin-Destination results for the time period to the Map in memoryprotected PlanItExceptionCsvFileOutputFormatter. writeOdResultsForCurrentTimePeriodToCsvPrinter(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, org.apache.commons.csv.CSVPrinter csvPrinter)Write output values to the OD CSV file for the current iterationprotected abstract voidBaseOutputFormatter. writePathResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write OD Path results for the time period to the CSV fileprotected voidMemoryOutputFormatter. writePathResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Path results for the time period to the CSV fileprotected PlanItExceptionCsvFileOutputFormatter. writePathResultsForCurrentTimePeriodToCsvPrinter(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, org.apache.commons.csv.CSVPrinter csvPrinter)Write output values to the Path CSV file for the current iterationprotected abstract voidBaseOutputFormatter. writeSimulationResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Simulation results for the current time period to the CSV fileprotected voidMemoryOutputFormatter. writeSimulationResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Simulation results for the current time period to the CSV file -
Uses of Mode in org.goplanit.output.property
Methods in org.goplanit.output.property with parameters of type Mode Modifier and Type Method Description static Optional<String>ModeExternalIdOutputProperty. getModeExternalId(Mode mode)Returns the external Id of the current modestatic Optional<Long>ModeIdOutputProperty. getModeId(Mode mode)Returns the Id of the current modestatic Optional<String>ModeXmlIdOutputProperty. getModeXmlId(Mode mode)Returns the Xml Id of the current mode -
Uses of Mode in org.goplanit.service.routed
Methods in org.goplanit.service.routed that return Mode Modifier and Type Method Description ModeRoutedModeServicesImpl. getMode()The supported mode for the routed services registeredModeRoutedServiceImpl. getMode()Access to the mode this routed service utilisesMethods in org.goplanit.service.routed with parameters of type Mode Modifier and Type Method Description RoutedModeServicesRoutedServicesLayerImpl. getServicesByMode(Mode mode)The services for a given mode available on this layer.booleanRoutedServicesLayerImpl. isServicesByModeEmpty(Mode mode)Verify if there exist no registered services for a given mode at all at presentConstructors in org.goplanit.service.routed with parameters of type Mode Constructor Description RoutedModeServicesImpl(IdGroupingToken tokenId, Mode supportedMode)ConstructorRoutedServiceImpl(IdGroupingToken tokenId, Mode mode)Constructor -
Uses of Mode in org.goplanit.service.routed.modifier
Methods in org.goplanit.service.routed.modifier with parameters of type Mode Modifier and Type Method Description voidRoutedServicesLayerModifierImpl. consolidateIdenticallyScheduledTrips(Mode mode)Consolidate all PLANit RoutedTrips with identical relative timing schedules (but different departure times) into a single PLANit Routed trip.voidRoutedServicesLayerModifierImpl. removeRoutedServicesWithoutTrips(boolean recreateRoutedServiceManagedIds, Mode... modes)Remove all routed services from the layer in case they no longer have any trips associated with them for the given modesvoidRoutedServicesLayerModifierImpl. removeScheduledTripsWithoutLegs(boolean recreateManagedEntitiesIds, Mode... modes)Remove all scheduled trips from the layer (for the given modes) in case they have no relative leg timings. -
Uses of Mode in org.goplanit.tntp.output.formatter
Method parameters in org.goplanit.tntp.output.formatter with type arguments of type Mode Modifier and Type Method Description protected voidCSVOutputFormatter. writeGeneralResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write General results for the current time period to the CSV fileprotected voidCSVOutputFormatter. writeLinkResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write link results for the current time period to the CSV fileprotected voidCSVOutputFormatter. writeOdResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Origin-Destination results for the time period to the CSV fileprotected voidCSVOutputFormatter. writePathResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Path results for the time period to the CSV fileprotected voidCSVOutputFormatter. writeSimulationResultsForCurrentTimePeriod(OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputTypeEnum currentOutputType, OutputAdapter outputAdapter, Set<Mode> modes, TimePeriod timePeriod, int iterationIndex)Write Simulation results for the current time period to the CSV file -
Uses of Mode in org.goplanit.userclass
Methods in org.goplanit.userclass that return Mode Modifier and Type Method Description ModeUserClass. getMode()Return the mode of travel of this user classConstructors in org.goplanit.userclass with parameters of type Mode Constructor Description UserClass(IdGroupingToken groupId, String name, Mode mode, TravellerType travelerType)Constructor of user class -
Uses of Mode in org.goplanit.utils.mode
Subinterfaces of Mode in org.goplanit.utils.mode Modifier and Type Interface Description interfacePredefinedModeFields in org.goplanit.utils.mode with type parameters of type Mode Modifier and Type Field Description static Class<Mode>Mode. MODE_ID_CLASSid class for generating idsMethods in org.goplanit.utils.mode that return Mode Modifier and Type Method Description ModeModes. getByXmlId(String xmlId)Retrieve a Mode by its XML IdModeModeFactory. registerNewCustomMode(String name, double maxSpeed, double pcu, PhysicalModeFeatures physicalFeatures, UsabilityModeFeatures usabilityFeatures)Create and register new modeMethods in org.goplanit.utils.mode that return types with arguments of type Mode Modifier and Type Method Description default Class<Mode>Mode. getIdClass()Each managed id class is expected to generate its ids based on its class signature.Method parameters in org.goplanit.utils.mode with type arguments of type Mode Modifier and Type Method Description ModesModes. deepCloneWithMapping(BiConsumer<Mode,Mode> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperModesModes. deepCloneWithMapping(BiConsumer<Mode,Mode> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapper -
Uses of Mode in org.goplanit.utils.network.layer
Methods in org.goplanit.utils.network.layer that return Mode Modifier and Type Method Description default ModeNetworkLayer. getFirstSupportedMode()Collect the first mode found under the supported modes from the collection provided by getSupportedModesMethods in org.goplanit.utils.network.layer that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>NetworkLayer. getSupportedModes()collect the modes supported by this infrastructure layerMethods in org.goplanit.utils.network.layer with parameters of type Mode Modifier and Type Method Description default doubleMacroscopicNetworkLayer. findMaximumPaceHKm(Mode mode)Convenience method to determine the maximum pace (h/km) across the layer for a given modedefault doubleMacroscopicNetworkLayer. findMaximumSpeedLimitKmH(Mode mode)Convenience method to determine the maximum speed limit (km/h) across the layer for a given modebooleanNetworkLayer. registerSupportedMode(Mode supportedMode)register a mode as supported by this layerdefault booleanNetworkLayer. supports(Mode mode)Determine if mode is supported by this layerMethod parameters in org.goplanit.utils.network.layer with type arguments of type Mode Modifier and Type Method Description booleanNetworkLayer. registerSupportedModes(Collection<Mode> supportedModes)register modes as supported by this layer -
Uses of Mode in org.goplanit.utils.network.layer.macroscopic
Methods in org.goplanit.utils.network.layer.macroscopic that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>AccessGroupProperties. getAccessModes()The access modes for this groupSet<Mode>MacroscopicLinkSegmentType. getAllowedModes()return the available modes present in one of the access groups that have been registereddefault Set<Mode>MacroscopicLinkSegmentType. getAllowedModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is available on the link segmentdefault Set<Mode>MacroscopicLinkSegmentType. getAllowedModesNotIn(Collection<Mode> modes)Method which identifies which of the passed in modes is available on the link segment but not in the passed in collection of modesdefault Set<Mode>MacroscopicLinkSegmentType. getDisallowedModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentMethods in org.goplanit.utils.network.layer.macroscopic with parameters of type Mode Modifier and Type Method Description voidAccessGroupProperties. addAccessMode(Mode mode)Add a new access mode to the groupdoubleMacroscopicLinkSegment. computeFreeFlowTravelTimeHour(Mode mode)Compute the free flow travel time by mode, i.e.default doubleMacroscopicLinkSegmentTypes. findMaximumSpeedLimit(Mode mode)Convenience method to determine the maximum speed limit across all types for a given modeAccessGroupPropertiesMacroscopicLinkSegmentType. getAccessProperties(Mode mode)Returns the access properties for a specified mode along this linkdefault DoubleMacroscopicLinkSegmentType. getCriticalSpeedKmH(Mode mode)Collect the critical speed based on the combination of the mode and any restrictions imposed by the type on this mode.default double[]MacroscopicLinkSegments. getFreeFlowTravelTimeHourPerLinkSegment(Mode mode)Create a raw array of all free flow travel times of the registered macroscopic link segments where the index in the array corresponds to the link segment id (not id).default MacroscopicLinkSegmentMacroscopicLink. getLinkSegmentIfLinkIsOneWayForMode(Mode mode)Collect the one way link segment for the mode if the link is in fact one way.default DoubleMacroscopicLinkSegmentType. getMaximumSpeedKmH(Mode mode)Collect the maximum speed based on the combination of the mode and any restrictions imposed by the type on this mode.default doubleMacroscopicLinkSegment. getModelledSpeedLimitKmH(Mode mode)Collect the maximum speed limit for the mode by taking the minimum of: (i) physical speed limit, (ii) mode's maximum speed limit, (iii) link segment type's mode specific speed limit.booleanMacroscopicLinkSegmentType. isModeAllowed(Mode mode)Verify if mode is available on typedefault booleanMacroscopicLink. isModeAllowedOnAllSegments(Mode mode)Verify if given mode is allowed on both segments, where at least one segment must be registered to allow for a positive resultdefault booleanMacroscopicLink. isModeAllowedOnAnySegment(Mode mode)Verify if given mode is allowed on any of the two segments, where at least one segment must be registered to allow for a positive resultvoidMacroscopicLinkSegmentType. registerModeOnAccessGroup(Mode accessMode, AccessGroupProperties accessGroupProperties)Add a new access mode to an existing access group properties on this link segment typeMacroscopicLinkSegmentTypeMacroscopicLinkSegmentTypeFactory. registerNew(String name, double capacityPcuPerHour, double maximumDensityPcuPerKm, Mode allowedMode)Create and register new macroscopic link segment type on network.booleanAccessGroupProperties. removeAccessMode(Mode toBeRemovedMode)Remove access modebooleanMacroscopicLinkSegmentType. removeModeAccess(Mode toBeRemovedMode)Remove the mode properties for the passed in mode (if present)Method parameters in org.goplanit.utils.network.layer.macroscopic with type arguments of type Mode Modifier and Type Method Description default Set<Mode>MacroscopicLinkSegmentType. getAllowedModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is available on the link segmentdefault Set<Mode>MacroscopicLinkSegmentType. getAllowedModesNotIn(Collection<Mode> modes)Method which identifies which of the passed in modes is available on the link segment but not in the passed in collection of modesdefault Set<Mode>MacroscopicLinkSegmentType. getDisallowedModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentdefault voidMacroscopicLinkSegmentType. removeModeAccess(Set<Mode> toBeRemovedModes)Remove mode access for the passed in modes -
Uses of Mode in org.goplanit.utils.network.layer.physical
Methods in org.goplanit.utils.network.layer.physical that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>LinkSegment. getAllowedModes()Returns the modes that are allowed on the link segment (unmodifiable)default Set<Mode>LinkSegment. getAllowedModesFrom(Collection<Mode> modes)collect the allowed modes from the passed in modes as newly created setMethods in org.goplanit.utils.network.layer.physical with parameters of type Mode Modifier and Type Method Description booleanLinkSegment. isModeAllowed(Mode mode)Returns whether vehicles of a specified mode are allowed through this linkMethod parameters in org.goplanit.utils.network.layer.physical with type arguments of type Mode Modifier and Type Method Description default Set<Mode>LinkSegment. getAllowedModesFrom(Collection<Mode> modes)collect the allowed modes from the passed in modes as newly created set -
Uses of Mode in org.goplanit.utils.network.layers
Methods in org.goplanit.utils.network.layers that return types with arguments of type Mode Modifier and Type Method Description default Collection<Mode>NetworkLayers. getSupportedModes()Collect all distinct supported modes across all network layers in newly created collectionMethods in org.goplanit.utils.network.layers with parameters of type Mode Modifier and Type Method Description TNetworkLayers. get(Mode mode)Find the layer that supports the passed in mode.MacroscopicNetworkLayerMacroscopicNetworkLayerFactory. registerNew(Mode... supportedModes)Create a new macroscopic network layer instance -
Uses of Mode in org.goplanit.utils.service.routed
Methods in org.goplanit.utils.service.routed that return Mode Modifier and Type Method Description ModeRoutedModeServices. getMode()The supported mode for the routed services registeredModeRoutedService. getMode()Access to the mode this routed service utilisesMethods in org.goplanit.utils.service.routed that return types with arguments of type Mode Modifier and Type Method Description default Collection<Mode>RoutedServicesLayer. getSupportedModes()Collect the supported modes that potentially have services registered based on the parent layerdefault Collection<Mode>RoutedServicesLayer. getSupportedModesWithServices()Collect the modes for which a RoutedModeService entry is available, i.e., for which we expect services to exist rather than potentially support.default Map<Mode,RoutedServicesLayer>RoutedServicesLayers. indexLayersByMode()Methods in org.goplanit.utils.service.routed with parameters of type Mode Modifier and Type Method Description RoutedModeServicesRoutedServicesLayer. getServicesByMode(Mode mode)The services for a given mode available on this layer.booleanRoutedServicesLayer. isServicesByModeEmpty(Mode mode)Verify if there exist no registered services for a given mode at all at present -
Uses of Mode in org.goplanit.utils.service.routed.modifier
Methods in org.goplanit.utils.service.routed.modifier with parameters of type Mode Modifier and Type Method Description voidRoutedServicesLayerModifier. consolidateIdenticallyScheduledTrips(Mode mode)Consolidate all PLANit RoutedTrips with identical relative timing schedules (but different departure times) into a single PLANit Routed trip.voidRoutedServicesLayerModifier. removeRoutedServicesWithoutTrips(boolean recreateManagedEntitiesIds, Mode... modes)Remove all routed services from the layer in case they no longer have any trips associated with them for the given modesvoidRoutedServicesLayerModifier. removeScheduledTripsWithoutLegs(boolean recreateManagedEntitiesIds, Mode... modes)Remove all scheduled trips from the layer (for the given modes) in case they have no relative leg timings. -
Uses of Mode in org.goplanit.utils.zoning
Methods in org.goplanit.utils.zoning that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>Connectoid. getExplicitlyAllowedModes(Zone accessZone)collect modes that are explicitly allowed for this zone (unmodifiable).Methods in org.goplanit.utils.zoning with parameters of type Mode Modifier and Type Method Description voidConnectoid. addAllowedMode(Zone zone, Mode allowedMode)Add an allowed mode.default voidConnectoid. addAllowedModes(Zone zone, Mode... allowedModes)Add allowed modes.booleanConnectoid. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoidMethod parameters in org.goplanit.utils.zoning with type arguments of type Mode Modifier and Type Method Description default voidConnectoid. addAllowedModes(Zone transferZone, Collection<Mode> allowedModes)Add allowed modes.default DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)Create a new directed connectoid, with default length 0default DirectedConnectoidDirectedConnectoidFactory. registerNew(LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)Create a new directed connectoid, with default length 0, and choose downstream access node based on the link segment provided -
Uses of Mode in org.goplanit.zoning
Fields in org.goplanit.zoning with type parameters of type Mode Modifier and Type Field Description TreeMap<Long,Mode>ConnectoidImpl.AccessZoneProperties. allowedModesthe explicitly allowed modes, when null all modes allowedMethods in org.goplanit.zoning that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>ConnectoidImpl. getExplicitlyAllowedModes(Zone accessZone)collect modes that are explicitly allowed for this zone (unmodifiable).Methods in org.goplanit.zoning with parameters of type Mode Modifier and Type Method Description voidConnectoidImpl. addAllowedMode(Zone accessZone, Mode allowedMode)Add an allowed mode.booleanConnectoidImpl. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoid
-