Uses of Class
org.planit.time.TimePeriod
-
Packages that use TimePeriod Package Description 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.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.trafficassignment Traffic assignment classesorg.planit.trafficassignment.builder Traffic assignment builder classes -
-
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(long externalId, 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. getTimePeriodByExternalId(Object externalId)Retrieve a TimePeriod by its external Id This method is not efficient, since it loops through all the registered time periods in order to find the required time period.TimePeriodDemands.TimePeriods. getTimePeriodByExternalId(Object externalId, boolean convertToLong)Retrieve a TimePeriod by its external Id This method has the option to convert the external Id parameter into a long value, to find the time period when time period objects use long values for external ids.TimePeriodDemands.TimePeriods. getTimePeriodById(long id)Retrieve a time period by its idMethods 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
Methods in org.planit.input that return TimePeriod Modifier and Type Method Description TimePeriodInputBuilderListener. getTimePeriodByExternalId(Object externalId)Return the time period for a specified external IdMethods in org.planit.input with parameters of type TimePeriod Modifier and Type Method Description booleanInputBuilderListener. addTimePeriodToExternalIdMap(Object externalId, TimePeriod timePeriod)Stores a time period by its external Id -
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 protected ObjectOutputTypeAdapterImpl. getCommonPropertyValue(OutputProperty outputProperty, Mode mode, TimePeriod timePeriod)Returns the value of properties which are common to all output type adaptersObjectLinkOutputTypeAdapter. 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 IteratorObjectRouteOutputTypeAdapter. getRouteOutputPropertyValue(OutputProperty outputProperty, ODRouteIterator odRouteIterator, Mode mode, TimePeriod timePeriod, RouteIdType pathOutputType)Returns the specified output property values for the current cell in the ODPathIteratorObjectRouteOutputTypeAdapterImpl. getRouteOutputPropertyValue(OutputProperty outputProperty, ODRouteIterator odRouteIterator, Mode mode, TimePeriod timePeriod, RouteIdType routeOutputType)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 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(PhysicalNetwork 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(PhysicalNetwork 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 with parameters of type TimePeriod Modifier and Type Method Description intTimePeriod. compareTo(TimePeriod o)Compare this object with another TimePeriod object Comparison is based on start time and duration -
Uses of TimePeriod in org.planit.trafficassignment
Fields in org.planit.trafficassignment 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.trafficassignment with parameters of type TimePeriod Modifier and Type Method Description voidTrafficAssignment. 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.trafficassignment.builder
Methods in org.planit.trafficassignment.builder with parameters of type TimePeriod Modifier and Type Method Description voidTrafficAssignmentBuilder. registerInitialLinkSegmentCost(TimePeriod timePeriod, InitialLinkSegmentCost initialLinkSegmentCost)Register the initial link segment cost for a specified time period
-