Uses of Class
org.planit.time.TimePeriod
-
Packages that use TimePeriod Package Description org.planit.assignment Traffic assignment classesorg.planit.assignment.algorithmb org.planit.assignment.traditionalstatic org.planit.cost.physical.initial Initial Physical Cost objectsorg.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.output.formatter PLANit IO output formatter packageorg.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.project PLANit project classesorg.planit.time Contains the definition of the TimePeriod objectorg.planit.tntp.output.formatter CSV output formatter used for TNTP results output -
-
Uses of TimePeriod in org.planit.assignment
Fields in org.planit.assignment with type parameters of type TimePeriod Modifier and Type Field Description protected Map<TimePeriod,InitialLinkSegmentCost>TrafficAssignment. initialLinkSegmentCostByTimePeriodMap storing InitialLinkSegmentCost objects for each time periodMethods in org.planit.assignment with parameters of type TimePeriod Modifier and Type Method Description protected voidStaticTrafficAssignment. executeTimePeriod(TimePeriod timePeriod)Perform assignment for a given time periodprotected abstract voidStaticTrafficAssignment. executeTimePeriod(TimePeriod timePeriod, Set<Mode> modes)Execute the time period for the registered modesvoidTrafficAssignmentConfigurator. registerInitialLinkSegmentCost(TimePeriod timePeriod, InitialLinkSegmentCost initialLinkSegmentCost)Register the initial link segment cost for a specified time periodvoidTrafficAssignment. setInitialLinkSegmentCost(TimePeriod timePeriod, InitialLinkSegmentCost initialLinkSegmentCost)Set the initial link segment cost for a specified time period, otherwise revert to the general initial link segment cost (if any) -
Uses of TimePeriod in org.planit.assignment.algorithmb
Methods in org.planit.assignment.algorithmb with parameters of type TimePeriod 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 TimePeriod in org.planit.assignment.traditionalstatic
Methods in org.planit.assignment.traditionalstatic with parameters of type TimePeriod 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 TimePeriod in org.planit.cost.physical.initial
Fields in org.planit.cost.physical.initial declared as TimePeriod Modifier and Type Field Description protected TimePeriodInitialLinkSegmentCostPeriod. timePeriodThe time period which this initial cost object applies to.Methods in org.planit.cost.physical.initial that return TimePeriod Modifier and Type Method Description TimePeriodInitialLinkSegmentCostPeriod. getTimePeriod()Methods in org.planit.cost.physical.initial with parameters of type TimePeriod Modifier and Type Method Description voidInitialLinkSegmentCostPeriod. setTimePeriod(TimePeriod timePeriod) -
Uses of TimePeriod in org.planit.demands
Methods in org.planit.demands that return TimePeriod Modifier and Type Method Description TimePeriodDemands.TimePeriods. createAndRegisterNewTimePeriod(String description, long startTimeSeconds, long durationSeconds)Factory method to create and register a new time period on the demandsTimePeriodDemands.TimePeriods. getFirst()Collect the first registered time period.TimePeriodDemands.TimePeriods. getTimePeriodById(long id)Retrieve a time period by its idTimePeriodDemands.TimePeriods. getTimePeriodByXmlId(String xmlId)Retrieve a TimePeriod by its xml Id This method is not efficient, since it loops through all the registered time periods in order to find the required time period.Methods in org.planit.demands that return types with arguments of type TimePeriod Modifier and Type Method Description SortedSet<TimePeriod>Demands.TimePeriods. asSortedSetByStartTime()Returns a set of all registered time periods sorted by the start time, i.e., the way th time period is comparableIterator<TimePeriod>Demands.TimePeriods. iterator()Iterator for time periods (non-sorted)Methods in org.planit.demands with parameters of type TimePeriod Modifier and Type Method Description ODDemandMatrixDemands. get(Mode mode, TimePeriod timePeriod)Get an ODDemand by mode and time periodSet<Mode>Demands. getRegisteredModesForTimePeriod(TimePeriod timePeriod)Get modes registered for the given time periodODDemandMatrixDemands. registerODDemand(TimePeriod timePeriod, Mode mode, ODDemandMatrix odDemandMatrix)Register provided odDemandprotected voidDemands.TimePeriods. registerTimePeriod(TimePeriod timePeriod)Register a time period -
Uses of TimePeriod in org.planit.input
Fields in org.planit.input with type parameters of type TimePeriod Modifier and Type Field Description protected Map<String,TimePeriod>InputBuilderListener. sourceIdTimePeriodMapMap which stores time periods by xml IdMethods in org.planit.input that return TimePeriod Modifier and Type Method Description TimePeriodInputBuilderListener. getTimePeriodBySourceId(String sourceId)Return the time period for a specified sourceIdMethods in org.planit.input with parameters of type TimePeriod Modifier and Type Method Description protected booleanInputBuilderListener. addTimePeriodToSourceIdMap(String sourceId, TimePeriod timePeriod)Stores a time period by its sourceId -
Uses of TimePeriod in org.planit.io.demands
Fields in org.planit.io.demands with type parameters of type TimePeriod Modifier and Type Field Description protected Map<String,TimePeriod>PlanitDemandsReaderSettings. xmlIdTimePeriodMapMap which stores time periods by xml IdMethods in org.planit.io.demands that return types with arguments of type TimePeriod Modifier and Type Method Description protected Map<String,TimePeriod>PlanitDemandsReaderSettings. getMapToIndexTimePeriodByXmlIds()map to index time periods by xml id when parsingMethod parameters in org.planit.io.demands with type arguments of type TimePeriod Modifier and Type Method Description voidPlanitDemandsReaderSettings. setMapToIndexTimePeriodByXmlIds(Map<String,TimePeriod> xmlIdTimePeriodMap)Use provided map to index time periods by xml id when parsing -
Uses of TimePeriod in org.planit.io.output.formatter
Methods in org.planit.io.output.formatter with parameters of type TimePeriod 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 TimePeriod in org.planit.output
Methods in org.planit.output with parameters of type TimePeriod 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 TimePeriod in org.planit.output.adapter
Methods in org.planit.output.adapter with parameters of type TimePeriod Modifier and Type Method Description ObjectLinkOutputTypeAdapter. 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 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 Iteratorprotected 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 ODPathIterator -
Uses of TimePeriod in org.planit.output.formatter
Methods in org.planit.output.formatter with parameters of type TimePeriod Modifier and Type Method Description protected StringFileOutputFormatter. generateOutputFileName(String outputDirectory, String nameRoot, String nameExtension, TimePeriod timePeriod, OutputType outputType, long runId)Generates the name of an output file.protected StringFileOutputFormatter. generateOutputFileName(String outputDirectory, String nameRoot, String nameExtension, TimePeriod timePeriod, OutputType outputType, long runId, int iteration)Generates the name of an output file.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 valuevoidBaseOutputFormatter. 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 TimePeriod in org.planit.output.property
Methods in org.planit.output.property with parameters of type TimePeriod Modifier and Type Method Description static ObjectTimePeriodExternalIdOutputProperty. getTimePeriodExternalId(TimePeriod timePeriod)Returns the current time period external Idstatic longTimePeriodIdOutputProperty. getTimePeriodId(TimePeriod timePeriod)Returns the current time period Idstatic ObjectTimePeriodXmlIdOutputProperty. getTimePeriodXmlId(TimePeriod timePeriod)Returns the current time period xml Id -
Uses of TimePeriod in org.planit.project
Methods in org.planit.project with parameters of type TimePeriod Modifier and Type Method Description InitialLinkSegmentCostPeriodCustomPlanItProject. createAndRegisterInitialLinkSegmentCost(InfrastructureNetwork network, String fileName, TimePeriod timePeriod)Create and register initial link segment costs from a (single) file and register it to the provided time periodInitialLinkSegmentCostPeriodPlanItProjectInput. createAndRegisterInitialLinkSegmentCost(InfrastructureNetwork network, String fileName, TimePeriod timePeriod)Create and register initial link segment costs from a (single) file for each time period -
Uses of TimePeriod in org.planit.time
Methods in org.planit.time that return types with arguments of type TimePeriod Modifier and Type Method Description static Comparator<TimePeriod>TimePeriod. comparatorByStartTime()custom comparator not by id but based on the start time and when equal duration -
Uses of TimePeriod in org.planit.tntp.output.formatter
Methods in org.planit.tntp.output.formatter with parameters of type TimePeriod 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
-