Uses of Interface
org.planit.utils.mode.Mode
-
Packages that use Mode Package Description org.planit.assignment Traffic assignment classesorg.planit.assignment.algorithmb org.planit.assignment.traditionalstatic org.planit.cost Contains the definitions of cost classesorg.planit.cost.physical Contains the definition of physical cost classesorg.planit.cost.physical.initial Initial Physical Cost objectsorg.planit.cost.virtual Contains the definitions of virtual cost classesorg.planit.demands Classes which manage traveler demandsorg.planit.input Top-level input classes and interfacesorg.planit.io.demands Classes used to process the Java classes generated from XSD filesorg.planit.io.network.converter org.planit.io.output.formatter PLANit IO output formatter packageorg.planit.io.xml.network PLANit IO XML parsing for networkorg.planit.io.xml.network.physical.macroscopic PLANit IO XML parsing for macroscopic networkorg.planit.mode org.planit.network org.planit.network.converter org.planit.network.macroscopic.physical Macroscopic physical network component object classesorg.planit.output output writer related classesorg.planit.output.adapter Output Adapter and Output Type Adapter classes and interfacesorg.planit.output.formatter output formatter related classesorg.planit.output.property Output property objects which represent quantities which can be reported in the outputorg.planit.tntp.output.formatter CSV output formatter used for TNTP results outputorg.planit.userclass Contains the definitions of the user classes (UserClass, TravellerType and Mode)org.planit.utils.mode org.planit.utils.network.physical.macroscopic Macroscopic physical network oriented utility classesorg.planit.utils.zoning zoning oriented utility classesorg.planit.zoning -
-
Uses of Mode in org.planit.assignment
Method parameters in org.planit.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.planit.assignment.algorithmb
Method parameters in org.planit.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.planit.assignment.traditionalstatic
Methods in org.planit.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.planit.assignment.traditionalstatic with parameters of type Mode Modifier and Type Method Description double[]TraditionalStaticAssignmentSimulationData. getModalLinkSegmentCosts(Mode mode)Retrieve the link segment costs for a specified modeODPathMatrixTraditionalStaticAssignmentSimulationData. getODPathMatrix(Mode mode)Retrieve the current OD path for a specified 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 modevoidTraditionalStaticAssignmentSimulationData. resetPathMatrix(Mode mode, Zones<?> zones)Reset the path matrix to empty for a specified mode for all activatedvoidTraditionalStaticAssignmentSimulationData. resetSkimMatrix(Mode mode, Zones<?> 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.planit.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.planit.cost
Methods in org.planit.cost with parameters of type Mode Modifier and Type Method Description doubleCost. getSegmentCost(Mode mode, T edgeSegment)Returns the cost of travel along an edge segment for a specified mode -
Uses of Mode in org.planit.cost.physical
Methods in org.planit.cost.physical with parameters of type Mode Modifier and Type Method Description protected doubleBPRLinkTravelTimeCost. computeCostInHours(MacroscopicLinkSegment linkSegment, Mode mode, double flowPcuPerHour)BPR function computation forPair<Double,Double>BPRLinkTravelTimeCost.BPRParameters. getAlphaBetaParameters(Mode mode)Retrieve Pair containing alpha and beta values for a specified modedoubleBPRLinkTravelTimeCost. getSegmentCost(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.abstract voidAbstractPhysicalCost. populateWithCost(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(Mode mode, double[] costToFill)populate the cost array with the BPR 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.planit.cost.physical.initial
Methods in org.planit.cost.physical.initial with parameters of type Mode Modifier and Type Method Description doubleInitialLinkSegmentCost. getSegmentCost(Mode mode, MacroscopicLinkSegment linkSegment)Returns the initial cost for each link segment and mode.booleanInitialLinkSegmentCost. isSegmentCostsSetForMode(Mode mode)Are link segment costs available for the given modevoidManualInitialLinkSegmentCost. setAllSegmentCosts(Mode mode, double cost, int noLinkSegments)Sets a given cost for all link segments for a given modevoidInitialLinkSegmentCost. setSegmentCost(Mode mode, long linkSegmentId, double cost)Sets the initial cost for each link segment and modevoidInitialLinkSegmentCost. 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 segment -
Uses of Mode in org.planit.cost.virtual
Methods in org.planit.cost.virtual with parameters of type Mode Modifier and Type Method Description doubleFixedConnectoidTravelTimeCost. getSegmentCost(Mode mode, ConnectoidSegment connectoidSegment)Calculates the connectoid segment cost using a fixed travel timedoubleSpeedConnectoidTravelTimeCost. getSegmentCost(Mode mode, ConnectoidSegment connectoidSegment)Return the connectoid travel time using speedvoidFixedConnectoidTravelTimeCost. populateWithCost(Mode mode, double[] costToFill)voidSpeedConnectoidTravelTimeCost. populateWithCost(Mode mode, double[] costToFill)voidVirtualCost. populateWithCost(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.planit.demands
Fields in org.planit.demands with type parameters of type Mode Modifier and Type Field Description protected TreeMap<Long,TreeMap<Mode,ODDemandMatrix>>Demands. odDemandsTrip demand matricesMethods in org.planit.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.planit.demands with parameters of type Mode Modifier and Type Method Description UserClassDemands.UserClasses. createAndRegisterNewUserClass(String name, Mode mode, TravelerType travellerType)Factory method to create and register a new user class on the demandsODDemandMatrixDemands. get(Mode mode, TimePeriod timePeriod)Get an ODDemand by mode and time periodODDemandMatrixDemands. registerODDemand(TimePeriod timePeriod, Mode mode, ODDemandMatrix odDemandMatrix)Register provided odDemand -
Uses of Mode in org.planit.input
Fields in org.planit.input with type parameters of type Mode Modifier and Type Field Description protected Map<String,Mode>InputBuilderListener. sourceIdModeMapMap which stores Mode xml Ids corresponding to ModesMethods in org.planit.input that return Mode Modifier and Type Method Description ModeInputBuilderListener. getModeBySourceId(String sourceId)Return Mode for a specified xml IdMethods in org.planit.input that return types with arguments of type Mode Modifier and Type Method Description Map<String,Mode>InputBuilderListener. getAllModesBySourceId()Return all the registered modesMethods in org.planit.input with parameters of type Mode Modifier and Type Method Description protected booleanInputBuilderListener. addModeToSourceIdMap(String sourceId, Mode mode)Stores a mode by its sourceId Id -
Uses of Mode in org.planit.io.demands
Method parameters in org.planit.io.demands with type arguments of type Mode Modifier and Type Method Description protected voidPlanitDemandsReader. populateDemandConfiguration(MacroscopicNetwork network, Map<String,Mode> sourceIdModeMap)Sets up all the configuration data from the XML demands filevoidPlanitDemandsReader. read(MacroscopicNetwork network, Zoning zoning, Map<String,Mode> xmlIdModeMap, Map<String,Zone> xmlIdZoneMap)parse the Xml and populate the demands memory model -
Uses of Mode in org.planit.io.network.converter
Methods in org.planit.io.network.converter that return types with arguments of type Mode Modifier and Type Method Description Map<String,Mode>PlanitNetworkReaderSettings. getMapToIndexModeByXmlIds()exogenous map to index modes by xml id when parsingMethod parameters in org.planit.io.network.converter with type arguments of type Mode Modifier and Type Method Description voidPlanitNetworkReaderSettings. setMapToIndexModeByXmlIds(Map<String,Mode> modeXmlIdToModeMap)Use provided map to index modes by xml id when parsing -
Uses of Mode in org.planit.io.output.formatter
Method parameters in org.planit.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.planit.io.xml.network
Method parameters in org.planit.io.xml.network with type arguments of type Mode Modifier and Type Method Description protected static voidXmlMacroscopicNetworkLayerHelper. parseLinkSegmentTypeModeProperties(org.planit.xml.generated.Accessmode xmlMode, MacroscopicLinkSegmentType linkSegmentType, Map<String,Mode> modesByXmlId)parse the mode properties for given link segment type and populate the helper with themstatic Map<String,MacroscopicLinkSegmentType>XmlMacroscopicNetworkLayerHelper. parseLinkSegmentTypes(org.planit.xml.generated.XMLElementLayerConfiguration xmlLayerconfiguration, MacroscopicPhysicalNetwork networkLayer, PlanitNetworkReaderSettings settings, Map<String,Mode> modesByXmlId)parse the link segment types -
Uses of Mode in org.planit.io.xml.network.physical.macroscopic
Methods in org.planit.io.xml.network.physical.macroscopic that return types with arguments of type Mode Modifier and Type Method Description Map<Mode,MacroscopicModeProperties>MacroscopicLinkSegmentTypeXmlHelper. getModePropertiesMap()Methods in org.planit.io.xml.network.physical.macroscopic with parameters of type Mode Modifier and Type Method Description voidMacroscopicLinkSegmentTypeXmlHelper. updateLinkSegmentTypeModeProperties(Object linkTypeExternalId, Mode mode, double maxSpeed, double critSpeed)Update an existing MacroscopicLinkSegmentTypeXmlHelper -
Uses of Mode in org.planit.mode
Classes in org.planit.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_SHAREclassGoodsModethe 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.planit.mode that return Mode Modifier and Type Method Description ModeModesImpl. get(long id)Return a Mode by its idModeModesImpl. getByXmlId(String xmlId)Retrieve a Mode by its xml Id This method is not efficient, since it loops through all the registered modes in order to find the required mode.ModeModesImpl. getFirst()Collect the first registered modeprotected ModeModesImpl. register(Mode mode)Add mode to the internal containerModeModesImpl. registerNewCustomMode(String name, double maxSpeed, double pcu, PhysicalModeFeatures physicalFeatures, UsabilityModeFeatures usabilityFeatures)Create and register new modeMethods in org.planit.mode that return types with arguments of type Mode Modifier and Type Method Description Iterator<Mode>ModesImpl. iterator()Iterator over available modesSet<Mode>ModesImpl. setOf()Provide all modes as a set.Methods in org.planit.mode with parameters of type Mode Modifier and Type Method Description protected ModeModesImpl. register(Mode mode)Add mode to the internal container -
Uses of Mode in org.planit.network
Fields in org.planit.network with type parameters of type Mode Modifier and Type Field Description protected Map<Mode,String>InfrastructureLayersConfigurator. modeToLayerXmlIdtrack mode to layer mappingprotected Map<Long,Mode>InfrastructureLayerImpl. supportedModesthe modes supported by this layerMethods in org.planit.network that return types with arguments of type Mode Modifier and Type Method Description Collection<Mode>InfrastructureLayer. getSupportedModes()collect the modes supported by this infrastructure layerCollection<Mode>InfrastructureLayerImpl. getSupportedModes()collect the modes supported by this infrastructure layerMethods in org.planit.network with parameters of type Mode Modifier and Type Method Description InfrastructureLayerInfrastructureLayers. get(Mode mode)Find the layer that supports the passed in mode.InfrastructureLayerInfraStructureLayersImpl. get(Mode mode)Find the layer that supports the passed in mode.InfrastructureLayerInfrastructureNetwork. getInfrastructureLayerByMode(Mode mode)collect an infrastructure layer by mode (identical to this.infrastructureLayers.get(mode))booleanInfrastructureLayersConfigurator. isModeMappedToLayer(Mode mode, String layerXmlId)verify if mode is assigned to the layerbooleanInfrastructureLayer. registerSupportedMode(Mode supportedMode)register a mode as supported by this layerbooleanInfrastructureLayerImpl. registerSupportedMode(Mode supportedMode)register a mode as supported by this layerStringInfrastructureLayersConfigurator. removeMode(Mode mode)remove mode from any layerStringInfrastructureLayersConfigurator. setModeToLayer(Mode mode, String layerXmlId)set mode to a layerdefault booleanInfrastructureLayer. supports(Mode mode)Determine if mode is supported by this layerMethod parameters in org.planit.network with type arguments of type Mode Modifier and Type Method Description booleanInfrastructureLayer. registerSupportedModes(Collection<Mode> supportedModes)register modes as supported by this layerbooleanInfrastructureLayerImpl. registerSupportedModes(Collection<Mode> supportedModes)register modes as supported by this layer -
Uses of Mode in org.planit.network.converter
Methods in org.planit.network.converter 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 configuration -
Uses of Mode in org.planit.network.macroscopic.physical
Fields in org.planit.network.macroscopic.physical with type parameters of type Mode Modifier and Type Field Description protected Map<Mode,MacroscopicModeProperties>MacroscopicLinkSegmentTypeImpl. modePropertiesMap of mode properties for each mode for this link segmentMethods in org.planit.network.macroscopic.physical that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>MacroscopicLinkSegmentImpl. getAllowedModes()Returns the modes that are allowed on the link segmentSet<Mode>MacroscopicLinkSegmentTypeImpl. getAvailableModes()return the available modes for which mode properties have been registeredMethods in org.planit.network.macroscopic.physical with parameters of type Mode Modifier and Type Method Description MacroscopicModePropertiesMacroscopicLinkSegmentTypeImpl. addModeProperties(Mode mode, MacroscopicModeProperties properties)Add mode properties for this link segmentdoubleMacroscopicLinkSegmentImpl. computeFreeFlowTravelTime(Mode mode)Compute the free flow travel time by mode, i.e.static voidMacroscopicModePropertiesFactory. createOnLinkSegmentType(MacroscopicLinkSegmentType linkSegmentType, Mode modeToAdd, double maxSpeedKmH)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 osmway type's maximum speeddoubleMacroscopicLinkSegmentImpl. 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.MacroscopicModePropertiesMacroscopicLinkSegmentTypeImpl. getModeProperties(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. isModeAvailable(Mode mode)Verify if mode is available on typeMacroscopicModePropertiesMacroscopicLinkSegmentTypeImpl. removeModeProperties(Mode toBeRemovedMode)remove the mode properties for the passed in mode (if present)Method parameters in org.planit.network.macroscopic.physical with type arguments of type Mode Modifier and Type Method Description MacroscopicLinkSegmentTypeMacroscopicLinkSegmentTypesImpl. createAndRegisterNew(String name, double capacityPcuPerHour, double maximumDensityPcuPerKm, Map<Mode,MacroscopicModeProperties> modeProperties)Create and register new macroscopic link segment type on network.MacroscopicLinkSegmentTypeMacroscopicPhysicalNetworkBuilder. createLinkSegmentType(String name, double capacity, double maximumDensity, Map<Mode,MacroscopicModeProperties> modeProperties)Create a fully functional macroscopic link segment type instanceMacroscopicLinkSegmentTypeMacroscopicPhysicalNetworkBuilderImpl. createLinkSegmentType(String name, double capacity, double maximumDensity, Map<Mode,MacroscopicModeProperties> modeProperties)Create a fully functional macroscopic link segment type instancestatic voidMacroscopicModePropertiesFactory. createOnLinkSegmentType(MacroscopicLinkSegmentType linkSegmentType, Collection<Mode> modesToAdd, double maxSpeedKmH)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 osmway type's maximum speedvoidMacroscopicLinkSegmentTypeImpl. setModeProperties(Map<Mode,MacroscopicModeProperties> modeProperties)Set the map of mode properties for this linkConstructor parameters in org.planit.network.macroscopic.physical with type arguments of type Mode Constructor Description MacroscopicLinkSegmentTypeImpl(IdGroupingToken groupId, String name, double capacityPerLane, double maximumDensityPerLane, Map<Mode,MacroscopicModeProperties> modeProperties) -
Uses of Mode in org.planit.output
Method parameters in org.planit.output with type arguments of type Mode Modifier and Type Method Description voidOutputManager. persistOutputData(TimePeriod timePeriod, Set<Mode> modes, boolean converged)Persist the output data for all registered output types -
Uses of Mode in org.planit.output.adapter
Methods in org.planit.output.adapter with parameters of type Mode Modifier and Type Method Description LongLinkOutputTypeAdapter. getInfrastructureLayerIdForMode(Mode mode)collect the infrastructure layer id this mode resides onLongLinkOutputTypeAdapterImpl. getInfrastructureLayerIdForMode(Mode mode)collect the infrastructure layer id this mode resides onObjectLinkOutputTypeAdapter. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)Return the value of a specified output property of a link segmentObjectLinkOutputTypeAdapterImpl. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.ObjectTraditionalStaticAssignmentLinkOutputTypeAdapter. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)Return the value of a specified output property of a link segmentprotected doubleLinkOutputTypeAdapterImpl. getMaximumSpeed(LinkSegment linkSegment, Mode mode)Returns the maximum speed through the current link segmentObjectODOutputTypeAdapter. getODOutputPropertyValue(OutputProperty outputProperty, ODMatrixIterator odMatrixIterator, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)Returns the specified output property values for the current cell in the OD Matrix IteratorObjectODOutputTypeAdapterImpl. getODOutputPropertyValue(OutputProperty outputProperty, ODMatrixIterator odMatrixIterator, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)Returns the specified output property values for the current cell in the OD Matrix IteratorODPathMatrixPathOutputTypeAdapter. getODPathMatrix(Mode mode)Retrieve an OD path matrix object for a specified modeODPathMatrixTraditionalStaticPathOutputTypeAdapter. getODPathMatrix(Mode mode)Retrieve an OD path matrix object for a specified modeODSkimMatrixODOutputTypeAdapter. getODSkimMatrix(ODSkimSubOutputType odSkimOutputType, Mode mode)Retrieve an OD skim matrix for a specified OD skim output type and modeODSkimMatrixTraditionalStaticAssignmentODOutputTypeAdapter. getODSkimMatrix(ODSkimSubOutputType odSkimOutputType, Mode mode)Retrieve an OD skim matrix for a specified OD skim output type and modeprotected ObjectOutputTypeAdapterImpl. getOutputTypeIndependentPropertyValue(OutputProperty outputProperty, Mode mode, TimePeriod timePeriod)Returns the value of properties which are common to all output type adaptersObjectPathOutputTypeAdapter. getPathOutputPropertyValue(OutputProperty outputProperty, ODPathIterator odPathIterator, Mode mode, TimePeriod timePeriod, PathOutputIdentificationType pathOutputType)Returns the specified output property values for the current cell in the ODPathIteratorObjectPathOutputTypeAdapterImpl. getPathOutputPropertyValue(OutputProperty outputProperty, ODPathIterator odPathIterator, Mode mode, TimePeriod timePeriod, PathOutputIdentificationType pathOutputType)Returns the specified output property values for the current cell in the ODPathIteratorbooleanLinkOutputTypeAdapter. isFlowPositive(LinkSegment linkSegment, Mode mode)Returns true if there is a flow through the current specified link segment for the specified modebooleanTraditionalStaticAssignmentLinkOutputTypeAdapter. isFlowPositive(LinkSegment 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.planit.output.formatter
Methods in org.planit.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, OutputProperty outputProperty, Object[] keyValues)Get a specified data valueMethod parameters in org.planit.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.planit.output.property
Methods in org.planit.output.property with parameters of type Mode Modifier and Type Method Description static ObjectModeExternalIdOutputProperty. getModeExternalId(Mode mode)Returns the external Id of the current modestatic longModeIdOutputProperty. getModeId(Mode mode)Returns the Id of the current modestatic StringModeXmlIdOutputProperty. getModeXmlId(Mode mode)Returns the Xml Id of the current mode -
Uses of Mode in org.planit.tntp.output.formatter
Method parameters in org.planit.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.planit.userclass
Methods in org.planit.userclass that return Mode Modifier and Type Method Description ModeUserClass. getMode()Return the mode of travel of this user classConstructors in org.planit.userclass with parameters of type Mode Constructor Description UserClass(IdGroupingToken groupId, String name, Mode mode, TravelerType travelerType)Constructor of user class -
Uses of Mode in org.planit.utils.mode
Subinterfaces of Mode in org.planit.utils.mode Modifier and Type Interface Description interfacePredefinedModeMethods in org.planit.utils.mode that return Mode Modifier and Type Method Description ModeModes. get(long id)Return a Mode by its idModeModes. getByXmlId(String xmlId)Retrieve a Mode by its XML IdModeModes. getFirst()Collect the first registered modeModeModes. registerNewCustomMode(String name, double maxSpeed, double pcu, PhysicalModeFeatures physicalFeatures, UsabilityModeFeatures usabilityFeatures)Create and register new modeMethods in org.planit.utils.mode that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>Modes. setOf()Provide all modes as a set.Methods in org.planit.utils.mode with parameters of type Mode Modifier and Type Method Description default booleanModes. contains(Mode mode)Verify if mode is present -
Uses of Mode in org.planit.utils.network.physical.macroscopic
Methods in org.planit.utils.network.physical.macroscopic that return types with arguments of type Mode Modifier and Type Method Description Set<Mode>MacroscopicLinkSegment. getAllowedModes()Returns the modes that are allowed on the link segmentSet<Mode>MacroscopicLinkSegmentType. getAvailableModes()return the available modes for which mode properties have been registereddefault Set<Mode>MacroscopicLinkSegmentType. getAvailableModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentdefault Set<Mode>MacroscopicLinkSegmentType. getUnAvailableModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentMethods in org.planit.utils.network.physical.macroscopic with parameters of type Mode Modifier and Type Method Description MacroscopicModePropertiesMacroscopicLinkSegmentType. addModeProperties(Mode mode, MacroscopicModeProperties modeProperties)Add mode properties for this link segmentdoubleMacroscopicLinkSegment. computeFreeFlowTravelTime(Mode mode)Compute the free flow travel time by mode, i.e.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.MacroscopicModePropertiesMacroscopicLinkSegmentType. getModeProperties(Mode mode)Returns the mode properties for a specified mode along this linkbooleanMacroscopicLinkSegment. isModeAllowed(Mode mode)Returns whether vehicles of a specified mode are allowed through this linkbooleanMacroscopicLinkSegmentType. isModeAvailable(Mode mode)Verify if mode is available on typeMacroscopicModePropertiesMacroscopicLinkSegmentType. removeModeProperties(Mode toBeRemovedMode)remove the mode properties for the passed in mode (if present)Method parameters in org.planit.utils.network.physical.macroscopic with type arguments of type Mode Modifier and Type Method Description MacroscopicLinkSegmentTypeMacroscopicLinkSegmentTypes. createAndRegisterNew(String name, double capacityPcuPerHour, double maximumDensityPcuPerKm, Map<Mode,MacroscopicModeProperties> modeProperties)Create and register new macroscopic link segment type on network.default Set<Mode>MacroscopicLinkSegmentType. getAvailableModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentdefault Set<Mode>MacroscopicLinkSegmentType. getUnAvailableModesFrom(Collection<Mode> modes)Method which identifies which of the passed in modes is unavailable on the link segmentdefault voidMacroscopicLinkSegmentType. removeModeProperties(Set<Mode> toBeRemovedModes)remove the mode properties for the passed in modesvoidMacroscopicLinkSegmentType. setModeProperties(Map<Mode,MacroscopicModeProperties> modeProperties)Set the map of mode properties for this link -
Uses of Mode in org.planit.utils.zoning
Methods in org.planit.utils.zoning with parameters of type Mode Modifier and Type Method Description voidConnectoid. addAllowedMode(Zone zone, Mode... allowedModes)add an allowed mode to the alreadybooleanConnectoid. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoid -
Uses of Mode in org.planit.zoning
Fields in org.planit.zoning with type parameters of type Mode Modifier and Type Field Description HashMap<Long,Mode>ConnectoidImpl.AccessZoneProperties. allowedModesMethods in org.planit.zoning with parameters of type Mode Modifier and Type Method Description voidConnectoidImpl. addAllowedMode(Zone accessZone, Mode... allowedModes)add an allowed mode to the alreadybooleanConnectoidImpl. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoid
-