Uses of Class
org.planit.utils.exceptions.PlanItException
-
Packages that use PlanItException Package Description org.planit.algorithms.nodemodel Node model algorithms for PlanItorg.planit.algorithms.shortestpath Shortest Path algorithms for PlanItorg.planit.configurator Contains the definitions of the configurator classesorg.planit.cost Contains the definitions of cost classesorg.planit.cost.physical Contains the definition of physical cost classesorg.planit.cost.virtual Contains the definitions of virtual cost classesorg.planit.data Data used for calculation during iterations of the traffic assignmentorg.planit.demands Classes which manage traveler demandsorg.planit.geo Common classes to perform actions on OpenGIS spatial dataorg.planit.graph Network component object classesorg.planit.io PLANit input output packageorg.planit.io.input Classes to read files in PlanIt's XML formatorg.planit.io.output.formatter PLANit IO output formatter packageorg.planit.io.project Simple implementations of CustomPlanItProjectorg.planit.io.xml.converter PLANit IO XML conversion helper classesorg.planit.io.xml.demands Classes used to process the Java classes generated from XSD filesorg.planit.io.xml.network PLANit IO XML parsing for networkorg.planit.io.xml.util Utility methods to help process XML dataorg.planit.io.xml.zoning Classes to update the Zoning object using input values from the XML zoning input file.org.planit.ltm.trafficassignment PLANit LTM traffic assignment classesorg.planit.network.physical Physical network component object classesorg.planit.network.physical.macroscopic Macroscopic physical network component object classesorg.planit.network.transport Integrated network component object classesorg.planit.network.virtual Virtual network component object classesorg.planit.output output writer related classesorg.planit.output.adapter Output Adapter and Output Type Adapter classes and interfacesorg.planit.output.configuration output configuration related classesorg.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.route.choice PLANit route choice classesorg.planit.time Contains the definition of the TimePeriod objectorg.planit.trafficassignment Traffic assignment classesorg.planit.trafficassignment.builder Traffic assignment builder classesorg.planit.utils.args Utils classes for parsing application argumentsorg.planit.utils.cumulatives Classes for cumulatives (in a traffic context)org.planit.utils.exceptions General wrappers for exceptions thrown during program executionorg.planit.utils.functionalinterface Utilities for functional interfacesorg.planit.utils.network.physical Physical network oriented utility classesorg.planit.utils.network.physical.macroscopic Macroscopic physical network oriented utility classesorg.planit.utils.network.virtual Virtual physical network oriented utility classesorg.planit.utils.reflection Reflection oriented utility classes -
-
Uses of PlanItException in org.planit.algorithms.nodemodel
Methods in org.planit.algorithms.nodemodel that throw PlanItException Modifier and Type Method Description protected void
TampereNodeModel. initialiseRun()
Initialise the run conforming to Step 1 in Appendix A of Bliemer et al.org.ojalgo.array.Array1D<Double>
TampereNodeModel. run()
Run the Tampere node modelConstructors in org.planit.algorithms.nodemodel that throw PlanItException Constructor Description TampereNodeModel(TampereNodeModelInput tampereNodeModelInput)
ConstructorTampereNodeModelFixedInput(org.ojalgo.array.Array1D<Double> incomingLinkSegmentCapacities)
Constructor.TampereNodeModelFixedInput(org.ojalgo.array.Array1D<Double> incomingLinkSegmentCapacities, org.ojalgo.array.Array1D<Double> outgoingLinkSegmentReceivingFlows)
Constructor.TampereNodeModelFixedInput(Node node, boolean initialiseReceivingFlowsAtCapacity)
Constructor.TampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows)
Constructor for a particular node model runTampereNodeModelInput(TampereNodeModelFixedInput fixedInput, org.ojalgo.array.Array2D<Double> turnSendingFlows, org.ojalgo.array.Array1D<Double> outgoingLinkSegmentReceivingFlows)
Constructor for a particular node model run. -
Uses of PlanItException in org.planit.algorithms.shortestpath
Methods in org.planit.algorithms.shortestpath that throw PlanItException Modifier and Type Method Description Pair<Double,EdgeSegment>[]
DijkstraShortestPathAlgorithm. executeOneToAll(Vertex currentOrigin)
Construct shortest paths from source node to all other nodes in the network based on directed LinkSegment edgesPair<Double,EdgeSegment>[]
ShortestPathAlgorithm. executeOneToAll(Vertex currentOrigin)
Construct shortest paths from source node to all other nodes in the network based on directed LinkSegment edges -
Uses of PlanItException in org.planit.configurator
Methods in org.planit.configurator that throw PlanItException Modifier and Type Method Description protected void
Configurator. callVoidMethod(T instance, String methodName, Object... parameters)
Call a void method on the toConfigure class instanceprotected Class<?>[]
Configurator. collectParameterTypes(Object... parameters)
collect the parameter types of the passed in object in their original ordervoid
Configurator. configure(T toConfigureInstance)
Configure the passed in instance with the registered method calls -
Uses of PlanItException in org.planit.cost
Methods in org.planit.cost that throw PlanItException Modifier and Type Method Description double
Cost. getSegmentCost(Mode mode, T edgeSegment)
Returns the cost of travel along an edge segment for a specified mode -
Uses of PlanItException in org.planit.cost.physical
Methods in org.planit.cost.physical that throw PlanItException Modifier and Type Method Description double
BPRLinkTravelTimeCost. getSegmentCost(Mode mode, LinkSegment 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 void
PhysicalCost. initialiseBeforeSimulation(PhysicalNetwork physicalNetwork)
Initialize the cost parameter values in the network -
Uses of PlanItException in org.planit.cost.virtual
Methods in org.planit.cost.virtual that throw PlanItException Modifier and Type Method Description void
FixedConnectoidTravelTimeCost. initialiseBeforeSimulation(VirtualNetwork virtualNetwork)
Initialize the virtual cost componentvoid
SpeedConnectoidTravelTimeCost. initialiseBeforeSimulation(VirtualNetwork virtualNetwork)
#Initialize the virtual cost componentabstract void
VirtualCost. initialiseBeforeSimulation(VirtualNetwork virtualNetwork)
Initialize the virtual cost component -
Uses of PlanItException in org.planit.data
Methods in org.planit.data that throw PlanItException Modifier and Type Method Description int
MultiKeyPlanItData. getPositionOfOutputKeyProperty(OutputProperty outputKeyProperty)
Get the position of a property type in the output keys property arrayint
MultiKeyPlanItData. getPositionOfOutputValueProperty(OutputProperty outputValueProperty)
Get the position of a property type in the output values property arrayObject
MultiKeyPlanItData. getRowValue(OutputProperty outputProperty, Object... keyValues)
Get data value for a specified row and columnObject[]
MultiKeyPlanItData. getRowValues(Object... keyValues)
Returns an array representing the row of data values defined by the specified array of key valuesvoid
MultiKeyPlanItData. putRow(Object[] outputValues, Object... keyValues)
Puts the data values into a specified rowvoid
MultiKeyPlanItData. putRowValue(OutputProperty outputProperty, Object value, Object... keyValues)
Set the data value for an individual cellConstructors in org.planit.data that throw PlanItException Constructor Description MultiKeyPlanItData(OutputProperty[] outputKeyProperties, OutputProperty... outputValueProperties)
ConstructorMultiKeyPlanItData(OutputProperty outputKeyProperty1, OutputProperty... outputValueProperties)
ConstructorMultiKeyPlanItData(OutputProperty outputKeyProperty1, OutputProperty outputKeyProperty2, OutputProperty... outputValueProperties)
ConstructorMultiKeyPlanItData(OutputProperty outputKeyProperty1, OutputProperty outputKeyProperty2, OutputProperty outputKeyProperty3, OutputProperty... outputValueProperties)
ConstructorTraditionalStaticAssignmentSimulationData(IdGroupingToken groupId, OutputManager outputManager)
Constructor -
Uses of PlanItException in org.planit.demands
Methods in org.planit.demands that throw PlanItException Modifier and Type Method Description TimePeriod
Demands.TimePeriods. createAndRegisterNewTimePeriod(long externalId, String description, long startTimeSeconds, long durationSeconds)
Factory method to create and register a new time period on the demands -
Uses of PlanItException in org.planit.geo
Methods in org.planit.geo that throw PlanItException Modifier and Type Method Description List<org.opengis.geometry.coordinate.Position>
PlanitGeoUtils. convertToDirectPositions(com.vividsolutions.jts.geom.Coordinate[] coordinates)
Convert JTS coordinates to OpenGIS directPositionsorg.opengis.geometry.coordinate.LineString
PlanitGeoUtils. convertToOpenGisLineString(com.vividsolutions.jts.geom.LineString jtsLineString)
Convert a JTS line string object to an OpenGis LineString instance by transferring the internal coordinatesorg.opengis.geometry.coordinate.LineString
PlanitGeoUtils. convertToOpenGisLineString(com.vividsolutions.jts.geom.MultiLineString jtsMultiLineString)
Converts a JTS MultiLineString with a single entry into an OpenGIS LineString instanceorg.opengis.geometry.DirectPosition
PlanitGeoUtils. getDirectPositionFromValues(double xCoordinate, double yCoordinate)
Create DirectPosition object from X- and Y-coordinatesdouble
PlanitGeoUtils. getDistanceInKilometres(org.opengis.geometry.coordinate.Position startPosition, org.opengis.geometry.coordinate.Position endPosition)
Compute the distance in kilometres between two positions in a geodetic coordinate reference system -
Uses of PlanItException in org.planit.graph
Methods in org.planit.graph that throw PlanItException Modifier and Type Method Description protected EdgeSegment
EdgeImpl. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)
Register EdgeSegment.Constructors in org.planit.graph that throw PlanItException Constructor Description EdgeImpl(IdGroupingToken groupId, Vertex vertexA, Vertex vertexB, double length)
Constructor which injects link lengths directly -
Uses of PlanItException in org.planit.io
Methods in org.planit.io that throw PlanItException Modifier and Type Method Description void
PlanItMain. execute()
Top-level business method for the PlanItXmlMain program. -
Uses of PlanItException in org.planit.io.input
Methods in org.planit.io.input that throw PlanItException Modifier and Type Method Description protected void
PlanItInputBuilder. populateDemands(Demands demands, Object parameter1, Object parameter2)
Populates the Demands object from the input fileprotected void
PlanItInputBuilder. populateInitialLinkSegmentCost(InitialLinkSegmentCost initialLinkSegmentCost, Object parameter1, Object parameter2)
Populate the initial link segment cost from a CSV fileprotected void
PlanItInputBuilder. populatePhysicalNetwork(PhysicalNetwork physicalNetwork)
Creates the physical network object from the data in the input fileprotected void
PlanItInputBuilder. populateZoning(Zoning zoning, Object parameter1)
Creates the Zoning object and connectoids from the data in the input fileConstructors in org.planit.io.input that throw PlanItException Constructor Description PlanItInputBuilder(String projectPath)
Constructor which generates the input objects from files in a specified directory, using the default extension ".xml"PlanItInputBuilder(String projectPath, String xmlNameExtension)
Constructor which generates the input objects from files in a specified directory -
Uses of PlanItException in org.planit.io.output.formatter
Methods in org.planit.io.output.formatter that throw PlanItException Modifier and Type Method Description void
PlanItOutputFormatter. finaliseAfterSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, OutputAdapter outputAdapter)
Finalize the persistence after the simulation.void
PlanItOutputFormatter. initialiseBeforeSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, long runId)
Create the output directories and open the CSV writersvoid
PlanItOutputFormatter. resetCsvDirectory()
Call this method to delete all existing files in the CSV output directoryvoid
PlanItOutputFormatter. resetXmlDirectory()
Call this method to delete all existing files in the XML output directoryprotected void
PlanItOutputFormatter. 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 void
PlanItOutputFormatter. 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 void
PlanItOutputFormatter. 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 void
PlanItOutputFormatter. 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 void
PlanItOutputFormatter. 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 fileConstructors in org.planit.io.output.formatter that throw PlanItException Constructor Description PlanItOutputFormatter(IdGroupingToken groupId)
Constructor, uses default values for properties file name, description property and version propertyPlanItOutputFormatter(IdGroupingToken groupId, String propertiesFileName)
Constructor, uses default values description property and version propertyPlanItOutputFormatter(IdGroupingToken groupId, String propertiesFileName, String descriptionProperty, String versionProperty)
Constructor, takes values for properties file name, description and version property -
Uses of PlanItException in org.planit.io.project
Methods in org.planit.io.project that throw PlanItException Modifier and Type Method Description TrafficAssignmentBuilder
PlanItProject. createAndRegisterTrafficAssignment(String trafficAssignmentType, Demands theDemands, Zoning theZoning, PhysicalNetwork thePhysicalNetwork)
Create and register a deterministic traffic assignment instance of a given typeTrafficAssignmentBuilder
PlanItSimpleProject. createAndRegisterTrafficAssignment(String trafficAssignmentType)
On a simple project we only allow a single assignment to be registered.TrafficAssignmentBuilder
PlanItSimpleProject. createAndRegisterTrafficAssignment(String trafficAssignmentType, Demands theDemands, Zoning theZoning, PhysicalNetwork thePhysicalNetwork)
Disallow the use of the generic create and register traffic assignment because a simple project automatically determines its demands, zoning, and networkvoid
PlanItSimpleProject. executeAllTrafficAssignments()
Execute all registered traffic assignments Top-level error recording is done in this class.Constructors in org.planit.io.project that throw PlanItException Constructor Description PlanItProject(String projectPath)
Constructor taking project path where to find all project input filesPlanItSimpleProject()
Base constructor for simple project which adopts the PlanItIO input/output format.PlanItSimpleProject(String projectPath)
Base constructor for simple project which adopts the PlanItIO input/output format -
Uses of PlanItException in org.planit.io.xml.converter
Methods in org.planit.io.xml.converter that throw PlanItException Modifier and Type Method Description static org.planit.xml.generated.Typevalues
EnumConverter. convertFromPlanItToXmlGeneratedType(Type type)
Convert values from Type enumeration in PLANit project to generated Typevalues enumerationstatic org.planit.xml.generated.Unitsvalues
EnumConverter. convertFromPlanItToXmlGeneratedUnits(Units units)
Convert values from Units enumeration in PLANit project to generated Unitsvalues enumeration -
Uses of PlanItException in org.planit.io.xml.demands
Methods in org.planit.io.xml.demands that throw PlanItException Modifier and Type Method Description static void
ProcessConfiguration. generateAndStoreConfigurationData(Demands demands, org.planit.xml.generated.XMLElementDemandConfiguration demandconfiguration, PhysicalNetwork physicalNetwork, InputBuilderListener inputBuilderListener)
Sets up all the configuration data from the XML demands file -
Uses of PlanItException in org.planit.io.xml.network
Methods in org.planit.io.xml.network that throw PlanItException Modifier and Type Method Description static void
ProcessInfrastructure. createAndRegisterLinkSegments(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, Map<Long,MacroscopicLinkSegmentTypeXmlHelper> linkSegmentTypeHelperMap, InputBuilderListener inputBuilderListener)
Generated and register link segmentsstatic void
ProcessLinkConfiguration. createAndRegisterModes(PhysicalNetwork physicalNetwork, org.planit.xml.generated.XMLElementLinkConfiguration linkconfiguration, InputBuilderListener inputBuilderListener)
Reads mode types from input file and stores them in a Mapstatic void
ProcessInfrastructure. createAndRegisterNodes(org.planit.xml.generated.XMLElementInfrastructure infrastructure, MacroscopicNetwork network, InputBuilderListener inputBuilderListener)
Create and register nodes on the networkstatic Map<Long,MacroscopicLinkSegmentTypeXmlHelper>
ProcessLinkConfiguration. createLinkSegmentTypeHelperMap(org.planit.xml.generated.XMLElementLinkConfiguration linkconfiguration, InputBuilderListener inputBuilderListener)
Reads MacroscopicLinkSegmentTypeXmlHelper objects from input file and stores them in a Map -
Uses of PlanItException in org.planit.io.xml.util
Methods in org.planit.io.xml.util that throw PlanItException Modifier and Type Method Description static org.opengis.geometry.DirectPosition
XmlUtils. getDirectPositionFromPointType(PlanitGeoUtils planitGeoUtils, net.opengis.gml.PointType pointType)
Create GML position from generated PointType object -
Uses of PlanItException in org.planit.io.xml.zoning
Methods in org.planit.io.xml.zoning that throw PlanItException Modifier and Type Method Description static org.opengis.geometry.DirectPosition
UpdateZoning. getCentrePointGeometry(org.planit.xml.generated.XMLElementZones.Zone zone)
Generates an OpenGIS DirectPosition object for the Centroid location from the generated Zone objectstatic void
UpdateZoning. registerNewConnectoid(Zoning zoning, PhysicalNetwork.Nodes nodes, org.planit.xml.generated.XMLElementZones.Zone zone, Centroid centroid, InputBuilderListener inputBuilderListener)
Generates and registers a Connectoid object from the current Centroid and generated Zone object -
Uses of PlanItException in org.planit.ltm.trafficassignment
Methods in org.planit.ltm.trafficassignment that throw PlanItException Modifier and Type Method Description void
ELTM. executeEquilibration()
Run equilibration after resources initialized, including saving resultsConstructors in org.planit.ltm.trafficassignment that throw PlanItException Constructor Description ELTMTrafficAssignmentBuilder(DynamicTrafficAssignment dynamicAssignment, InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
Constructor -
Uses of PlanItException in org.planit.network.physical
Methods in org.planit.network.physical that throw PlanItException Modifier and Type Method Description LinkSegment
PhysicalNetwork.LinkSegments. createDirectionalLinkSegment(Link parentLink, boolean directionAB)
Create directional link segmentLink
PhysicalNetworkBuilder. createLink(Node nodeA, Node nodeB, double length, String name)
Create a new link instanceLinkSegment
LinkImpl. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment.void
PhysicalNetwork.LinkSegments. registerLinkSegment(Link parentLink, LinkSegment linkSegment, boolean directionAB)
Register a link segmentprotected void
PhysicalNetwork.LinkSegments. registerLinkSegment(LinkSegment linkSegment)
Register a link segment on the networkLink
PhysicalNetwork.Links. registerNewLink(Node nodeA, Node nodeB, double length, String name)
Create new link to network identified via its id, injecting link length directlyConstructors in org.planit.network.physical that throw PlanItException Constructor Description LinkImpl(IdGroupingToken groupId, Node nodeA, Node nodeB, double length, String name)
Constructor which injects link length directly -
Uses of PlanItException in org.planit.network.physical.macroscopic
Methods in org.planit.network.physical.macroscopic that throw PlanItException Modifier and Type Method Description double
MacroscopicLinkSegmentImpl. computeFreeFlowTravelTime(Mode mode)
Compute the free flow travel time by mode, i.e.MacroscopicLinkSegmentType
MacroscopicNetwork. createAndRegisterNewMacroscopicLinkSegmentType(String name, double capacity, double maximumDensity, Object linkSegmentExternalId, Map<Mode,MacroscopicModeProperties> modeProperties)
Create and register new macroscopic link segment type on network.Link
MacroscopicNetworkBuilder. createLink(Node nodeA, Node nodeB, double length, String name)
Create a new link instance -
Uses of PlanItException in org.planit.network.transport
Methods in org.planit.network.transport that throw PlanItException Modifier and Type Method Description protected void
TransportNetwork. connectVerticesToEdge(Edge edge)
Add Edge to both verticesprotected void
TransportNetwork. connectVerticesToEdgeSegment(EdgeSegment edgeSegment)
Add edge segment to the incoming or outgoing set of edge segments for the related verticesprotected void
TransportNetwork. disconnectVerticesFromEdge(Edge edge)
Remove Edge from both verticesprotected void
TransportNetwork. disconnectVerticesFromEdgeSegment(EdgeSegment edgeSegment)
Remove edge segment from the incoming or outgoing set of edge segments for the related verticesvoid
TransportNetwork. integrateConnectoidsAndLinks()
Integrate physical and virtual linksvoid
TransportNetwork. removeVirtualNetworkFromPhysicalNetwork()
Remove the edges and edge segments on the vertices of both virtual and physical networks -
Uses of PlanItException in org.planit.network.virtual
Methods in org.planit.network.virtual that throw PlanItException Modifier and Type Method Description ConnectoidSegment
VirtualNetwork.ConnectoidSegments. createAndRegisterConnectoidSegment(Connectoid parentConnectoid, boolean directionAB)
Create and register connectoid segment in AB direction on virtual networkConnectoidSegment
ConnectoidImpl. registerConnectoidSegment(ConnectoidSegment connectoidSegment, boolean directionAB)
Register connectoidSegment.Connectoid
VirtualNetwork.Connectoids. registerNewConnectoid(Centroid centroid, Node node, double length)
Create new connectoid to from a specified centroid to a specified nodeConnectoid
VirtualNetwork.Connectoids. registerNewConnectoid(Centroid centroid, Node node, double length, Object externalId)
Create new connectoid to from a specified centroid to a specified nodeConstructors in org.planit.network.virtual that throw PlanItException Constructor Description ConnectoidImpl(IdGroupingToken groupId, Centroid centroidA, Node nodeB, double length)
ConstructorConnectoidImpl(IdGroupingToken groupId, Centroid centroidA, Node nodeB, double length, Object externalId)
Constructor -
Uses of PlanItException in org.planit.output
Methods in org.planit.output that throw PlanItException Modifier and Type Method Description OutputTypeConfiguration
OutputManager. createAndRegisterOutputTypeConfiguration(OutputType outputType, TrafficAssignment trafficAssignment)
Factory method to create an output configuration and adapter for a given typevoid
OutputManager. finaliseAfterSimulation()
Allows the output manager to finalise itself and any of its registered output formatters to after the simulation endedvoid
OutputManager. initialiseBeforeSimulation(long runId)
Allows the output manager to initialize itself and any of its registered output formatters to prepare before the simulation startsvoid
OutputManager. persistOutputData(TimePeriod timePeriod, Set<Mode> modes, boolean converged)
Persist the output data for all registered output types -
Uses of PlanItException in org.planit.output.adapter
Methods in org.planit.output.adapter that throw PlanItException Modifier and Type Method Description protected double
LinkOutputTypeAdapterImpl. getCapacityPerLane(LinkSegment linkSegment)
Returns the value of the capacity per laneprotected Object
ODOutputTypeAdapterImpl. getDestinationZoneExternalId(ODMatrixIterator odMatrixIterator)
Returns the external Id of the destination zone for the current cell in the OD skim matrixprotected Object
RouteOutputTypeAdapterImpl. getDestinationZoneExternalId(ODRouteIterator odPathIterator)
Returns the external Id of the destination zone for the current cell in the OD path matrixprotected long
ODOutputTypeAdapterImpl. getDestinationZoneId(ODMatrixIterator odMatrixIterator)
Returns the Id of the destination zone for the current cell in the OD skim matrixprotected long
RouteOutputTypeAdapterImpl. getDestinationZoneId(ODRouteIterator odPathIterator)
Returns the Id of the destination zone for the current cell in the OD path matrixprotected Object
LinkOutputTypeAdapterImpl. getDownstreamNodeExternalId(LinkSegment linkSegment)
Returns the external Id of the downstream nodeprotected long
LinkOutputTypeAdapterImpl. getDownstreamNodeId(LinkSegment linkSegment)
Returns the Id of the downstream nodeprotected Object
LinkOutputTypeAdapterImpl. getDownstreamNodeLocation(LinkSegment linkSegment)
Returns the location of the downstream nodeint
ODOutputTypeAdapterImpl. getIterationIndexForSubOutputType(SubOutputTypeEnum outputTypeEnum)
ODSkimOutputType.COST: Cost is collected through the shortest path in iteration i based on the link costs of iteration i-1, so the od cost of i-1 are only known once we are in iteration i, hence this information is trailing behind one iteration, and we can only store it in i.int
OutputTypeAdapter. getIterationIndexForSubOutputType(SubOutputTypeEnum subOutputTypeEnum)
Determine the iteration index that is relevant for the data related to the provided output type enum Generally, this equates to the actual current iteration index, but if the data for example is trailing an iteration then this will collect the correct iteration index for this data as opposed to the iteration index of the simulation itself.int
OutputTypeAdapterImpl. getIterationIndexForSubOutputType(SubOutputTypeEnum outputTypeEnum)
Default implementation assumes that regular iteration index is used, which in most cases it true, only when for example costs are trailing one iteration behind in case they are only revealed in the next iteration this method should be overriddenprotected double
LinkOutputTypeAdapterImpl. getLength(LinkSegment linkSegment)
Returns the length of the current link segmentprotected Object
LinkOutputTypeAdapterImpl. getLinkSegmentExternalId(LinkSegment linkSegment)
Returns the external Id of the current link segmentprotected long
LinkOutputTypeAdapterImpl. getLinkSegmentId(LinkSegment linkSegment)
Returns the Id of the current link segmentprotected String
LinkOutputTypeAdapterImpl. getLinkType(LinkSegment linkSegment)
Return the link segment type of the current link segmentprotected double
LinkOutputTypeAdapterImpl. getMaximumDensity(LinkSegment linkSegment)
Returns the flow density of the current linkprotected double
LinkOutputTypeAdapterImpl. getMaximumSpeed(LinkSegment linkSegment, Mode mode)
Returns the maximum speed through the current link segmentprotected int
LinkOutputTypeAdapterImpl. getNumberOfLanes(LinkSegment linkSegment)
Returns the number of lanes of the current linkprotected double
ODOutputTypeAdapterImpl. getODCost(ODMatrixIterator odMatrixIterator, double timeUnitMultiplier)
Returns the OD travel cost for the current cell in the OD skim matrixprotected Object
ODOutputTypeAdapterImpl. getOriginZoneExternalId(ODMatrixIterator odMatrixIterator)
Returns the origin zone external Id for the current cell in the OD skim matrixprotected Object
RouteOutputTypeAdapterImpl. getOriginZoneExternalId(ODRouteIterator odPathIterator)
Returns the origin zone external Id for the current cell in the OD path matrixprotected long
ODOutputTypeAdapterImpl. getOriginZoneId(ODMatrixIterator odMatrixIterator)
Returns the origin zone Id for the current cell in the OD skim matrixprotected long
RouteOutputTypeAdapterImpl. getOriginZoneId(ODRouteIterator odPathIterator)
Returns the origin zone Id for the current cell in the OD path matrixprotected Object
LinkOutputTypeAdapterImpl. getUpstreamNodeExternalId(LinkSegment linkSegment)
Returns the external Id of the upstream nodeprotected long
LinkOutputTypeAdapterImpl. getUpstreamNodeId(LinkSegment linkSegment)
Returns the Id of the upstream nodeprotected Object
LinkOutputTypeAdapterImpl. getUpstreamNodeLocation(LinkSegment linkSegment)
Returns the location of the upstream node -
Uses of PlanItException in org.planit.output.configuration
Methods in org.planit.output.configuration that throw PlanItException Modifier and Type Method Description void
OutputTypeConfiguration. addProperty(OutputProperty outputProperty)
Add an output property to be included in the output filesboolean
OutputTypeConfiguration. removeProperty(String propertyClassName)
Remove an output property from the list of properties to be included in the output fileboolean
OutputTypeConfiguration. removeProperty(OutputProperty outputProperty)
Remove an output property from the list of properties to be included in the output filevoid
PathOutputTypeConfiguration. setPathIdType(RouteIdType pathIdType)
Set the path id typeConstructors in org.planit.output.configuration that throw PlanItException Constructor Description LinkOutputTypeConfiguration(TrafficAssignment trafficAssignment)
Constructor Define the default output properties here.OriginDestinationOutputTypeConfiguration(TrafficAssignment trafficAssignment)
Constructor Define the default output properties here.OutputTypeConfiguration(TrafficAssignment trafficAssignment, OutputType outputType)
OutputTypeconfiguration constructorPathOutputTypeConfiguration(TrafficAssignment trafficAssignment)
Constructor Define the default output properties here. -
Uses of PlanItException in org.planit.output.formatter
Methods in org.planit.output.formatter that return PlanItException Modifier and Type Method Description protected PlanItException
CsvFileOutputFormatter. 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 PlanItException
CsvFileOutputFormatter. 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 PlanItException
CsvFileOutputFormatter. 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 iterationMethods in org.planit.output.formatter that throw PlanItException Modifier and Type Method Description static OutputFormatter
OutputFormatterFactory. createOutputFormatter(String OutputFormatterCanonicalClassName)
Create an output formatter based on the passed in class namevoid
MemoryOutputFormatter. finaliseAfterSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, OutputAdapter outputAdapter)
Close all resources used in this formattervoid
OutputFormatter. finaliseAfterSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, OutputAdapter outputAdapter)
Close resources to store resultsprotected String
FileOutputFormatter. generateOutputFileName(String outputDirectory, String nameRoot, String nameExtension, TimePeriod timePeriod, OutputType outputType, long runId)
Generates the name of an output file.protected String
FileOutputFormatter. generateOutputFileName(String outputDirectory, String nameRoot, String nameExtension, TimePeriod timePeriod, OutputType outputType, long runId, int iteration)
Generates the name of an output file.Object
MemoryOutputFormatter. getOutputDataValue(Mode mode, TimePeriod timePeriod, Integer iterationIndex, OutputType outputType, OutputProperty outputProperty, Object[] keyValues)
Get a specified data valueint
MemoryOutputFormatter. getPositionOfOutputKeyProperty(OutputType outputType, OutputProperty outputKeyProperty)
Returns the position of a property type in the output key property arrayint
MemoryOutputFormatter. getPositionOfOutputValueProperty(OutputType outputType, OutputProperty outputValueProperty)
Returns the position of a property type in the output values property arrayvoid
MemoryOutputFormatter. initialiseBeforeSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, long runId)
Opens all resources used in the formattervoid
OutputFormatter. initialiseBeforeSimulation(Map<OutputType,OutputTypeConfiguration> outputTypeConfigurations, long runId)
Open resources to store resultsvoid
BaseOutputFormatter. persist(TimePeriod timePeriod, Set<Mode> modes, OutputConfiguration outputConfiguration, OutputTypeConfiguration outputTypeConfiguration, OutputAdapter outputAdapter)
Write data to output filevoid
OutputFormatter. 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 void
BaseOutputFormatter. 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 void
MemoryOutputFormatter. 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 void
BaseOutputFormatter. 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 void
MemoryOutputFormatter. 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 abstract void
BaseOutputFormatter. 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 void
MemoryOutputFormatter. 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 abstract void
BaseOutputFormatter. 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 void
MemoryOutputFormatter. 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 abstract void
BaseOutputFormatter. 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 void
MemoryOutputFormatter. 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 PlanItException in org.planit.output.property
Methods in org.planit.output.property that throw PlanItException Modifier and Type Method Description static BaseOutputProperty
BaseOutputProperty. convertToBaseOutputProperty(String propertyClassName)
Generate the appropriate BaseOutputProperty object from a specified class namestatic BaseOutputProperty
BaseOutputProperty. convertToBaseOutputProperty(OutputProperty outputProperty)
Generate the appropriate BaseOutputProperty object from a specified enumeration valuestatic OutputProperty
OutputProperty. fromHeaderName(String name)
Returns the enumeration value associated with a specified header name (the header name in input and output files)static int
IterationIndexOutputProperty. getIterationIndex(TrafficAssignment trafficAssignment)
Returns the current iteration indexstatic long
ModeIdOutputProperty. getModeId(Mode mode)
Returns the Id of the current modestatic long
RunIdOutputProperty. getRunId(TrafficAssignment trafficAssignment)
Returns the current run idstatic Object
TimePeriodExternalIdOutputProperty. getTimePeriodExternalId(TimePeriod timePeriod)
Returns the current time period external Idstatic long
TimePeriodIdOutputProperty. getTimePeriodId(TimePeriod timePeriod)
Returns the current time period Id -
Uses of PlanItException in org.planit.project
Methods in org.planit.project that throw PlanItException Modifier and Type Method Description Demands
CustomPlanItProject. createAndRegisterDemands(Zoning zoning, PhysicalNetwork physicalNetwork)
Create and register demands to the projectDemands
PlanItProjectInput. createAndRegisterDemands(Zoning zoning, PhysicalNetwork physicalNetwork)
Create and register demands to the project inputsInitialLinkSegmentCost
CustomPlanItProject. createAndRegisterInitialLinkSegmentCost(PhysicalNetwork network, String fileName)
Create and register initial link segment costs from a (single) file which we assume are available in the native xml/csv output format as provided in this projectList<InitialLinkSegmentCostPeriod>
CustomPlanItProject. createAndRegisterInitialLinkSegmentCost(PhysicalNetwork network, String fileName, Demands demands)
Create and register initial link segment costs from a (single) file for all time periods in Demands objectInitialLinkSegmentCostPeriod
CustomPlanItProject. 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 periodInitialLinkSegmentCost
PlanItProjectInput. createAndRegisterInitialLinkSegmentCost(PhysicalNetwork network, String fileName)
Create and register initial link segment costs from a (single) file which we assume are available in the native xml/csv output format as provided in this projectList<InitialLinkSegmentCostPeriod>
PlanItProjectInput. createAndRegisterInitialLinkSegmentCost(PhysicalNetwork network, String fileName, Demands demands)
Create and register initial link segment costs from a (single) file for all time periods in Demands objectInitialLinkSegmentCostPeriod
PlanItProjectInput. createAndRegisterInitialLinkSegmentCost(PhysicalNetwork network, String fileName, TimePeriod timePeriod)
Create and register initial link segment costs from a (single) file for each time periodODRouteSets
CustomPlanItProject. createAndRegisterODRouteSets(PhysicalNetwork physicalNetwork, Zoning zoning, String odRouteSetInputPath)
Create and register the OD route sets as populated by the input builder through the path sourceODRouteSets
PlanItProjectInput. createAndRegisterODRouteSets(PhysicalNetwork physicalNetwork, Zoning zoning, String odRouteSetInputPath)
Create and register the OD route sets on the project inputOutputFormatter
CustomPlanItProject. createAndRegisterOutputFormatter(String outputFormatterType)
Create and register an output formatter instance of a given typePhysicalNetwork
CustomPlanItProject. createAndRegisterPhysicalNetwork(String physicalNetworkType)
Create and register a physical network on the projectPhysicalNetwork
PlanItProjectInput. createAndRegisterPhysicalNetwork(String physicalNetworkType)
Create and register a physical network on the project inputTrafficAssignmentBuilder
CustomPlanItProject. createAndRegisterTrafficAssignment(String trafficAssignmentType, Demands theDemands, Zoning theZoning, PhysicalNetwork thePhysicalNetwork)
Create and register a deterministic traffic assignment instance of a given typeZoning
CustomPlanItProject. createAndRegisterZoning(PhysicalNetwork physicalNetwork)
Create and register the zoning system on the networkZoning
PlanItProjectInput. createAndRegisterZoning(PhysicalNetwork physicalNetwork)
Create and register the zoning system on the network and project inputvoid
CustomPlanItProject. executeAllTrafficAssignments()
Execute all registered traffic assignments Top-level error recording is done in this class.void
CustomPlanItProject. registerEligibleTrafficComponentClass(Class<? extends TrafficAssignmentComponent<?>> theClazz)
Register a class that we allow to be instantiated as a concrete implementation of a traffic assignment component that can be used in PLANit -
Uses of PlanItException in org.planit.route.choice
Methods in org.planit.route.choice that throw PlanItException Modifier and Type Method Description LogitChoiceModel
StochasticRouteChoice. createAndRegisterLogitModel(String canonicalName)
create and register the logit model of choiceRouteChoice
RouteChoiceBuilder. createAndRegisterRouteChoice(String physicalTraveltimeCostFunctionType)
create and register the route choice one desires. -
Uses of PlanItException in org.planit.time
Methods in org.planit.time that throw PlanItException Modifier and Type Method Description static long
TimePeriod. convertHoursToSeconds(String fourDigitHour)
Convert duration to seconds given start time using the 24-hour clockConstructors in org.planit.time that throw PlanItException Constructor Description TimePeriod(IdGroupingToken groupId, Object externalId, long startTimeSeconds, long durationSeconds)
ConstructorTimePeriod(IdGroupingToken groupId, Object externalId, String description, long startTimeSeconds, long durationSeconds)
Constructor -
Uses of PlanItException in org.planit.trafficassignment
Methods in org.planit.trafficassignment that throw PlanItException Modifier and Type Method Description OutputTypeConfiguration
TrafficAssignment. activateOutput(OutputType outputType)
Method that allows one to activate specific output types for persistence which is passed on to the output managerprotected void
TrafficAssignment. checkForEmptyComponents()
Check if any components are undefined, if so throw exceptionTrafficAssignmentBuilder
TrafficAssignment. collectBuilder(InputBuilderListener trafficComponentCreateListener, Demands theDemands, Zoning theZoning, PhysicalNetwork thePhysicalNetwork)
Each traffic assignment class can have its own builder which reveals what components need to be registered on the traffic assignment instance in order to function properly.T
TrafficAssignmentComponentFactory. create(String trafficAssignmentComponentClassName, Object[] constructorParameters)
Create traffic assignment componentT
TrafficAssignmentComponentFactory. create(String trafficAssignmentComponentClassName, Object[] constructorParameters, Object... eventParameters)
Create traffic assignment componentprotected TrafficAssignmentBuilder
TraditionalStaticAssignment. createTrafficAssignmentBuilder(InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
create the traffic assignment builder for this traffic assignmentprotected abstract TrafficAssignmentBuilder
TrafficAssignment. createTrafficAssignmentBuilder(InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
create the traffic assignment builder for this traffic assignmentprotected void
TrafficAssignment. createTransportNetwork()
Initialize the transport network by combining the physical and virtual componentsprotected void
TrafficAssignment. disbandTransportNetwork()
detach the virtual and physical transport network againvoid
TrafficAssignment. execute()
Execute assignment, including initializing resources, running equilibration and then closing resourcesvoid
TraditionalStaticAssignment. executeEquilibration()
Execute equilibration over all time periods and modesabstract void
TrafficAssignment. executeEquilibration()
Run equilibration after resources initialized, including saving resultsprotected void
TrafficAssignment. finalizeAfterExecution()
Finalize all relevant traffic assignment components after execution of the assignment has endedprotected void
TrafficAssignment. initialiseBeforeExecution()
Initialize all relevant traffic assignment components before execution of the assignment commencesstatic void
TrafficAssignmentComponentFactory. registerTrafficAssignmentComponentType(Class<? extends TrafficAssignmentComponent<?>> trafficAssignmentComponent)
Register a component type that one can choose for the given traffic componentvoid
TrafficAssignment. setPhysicalCost(PhysicalCost physicalCost)
Set the physical cost where in case the cost is an InteractorAccessor will trigger an event to get access to the required data via requesting an InteractorAccesseevoid
TrafficAssignment. setVirtualCost(VirtualCost virtualCost)
Set the virtual cost where in case the cost is an InteractorAccessor will trigger an event to get access to the required data via requesting an InteractorAccesseeprotected void
TrafficAssignment. verifyComponentCompatibility()
Verify if the traffic assignment components are compatible and nonnull -
Uses of PlanItException in org.planit.trafficassignment.builder
Methods in org.planit.trafficassignment.builder that throw PlanItException Modifier and Type Method Description OutputTypeConfiguration
TrafficAssignmentBuilder. activateOutput(OutputType outputType)
Method that allows one to activate specific output types for persistence on the traffic assignment instanceFundamentalDiagram
CapacityConstrainedTrafficAssignmentBuilder. createAndRegisterFundamentalDiagram(String fundamentalDiagramType, PhysicalNetwork physicalNetwork)
Create and register FundamentalDiagram on assignmentNodeModel
CapacityConstrainedTrafficAssignmentBuilder. createAndRegisterNodeModel(String nodeModelType)
Create and register NodeMode on assignmentPhysicalCost
TrafficAssignmentBuilder. createAndRegisterPhysicalCost(String physicalTraveltimeCostFunctionType)
Create and register physical link cost function to determine travel timeRouteChoice
DynamicTrafficAssignmentBuilder. createAndRegisterRouteChoice(String routeChoiceType)
create and register the route choice one desires.Smoothing
DynamicTrafficAssignmentBuilder. createAndRegisterSmoothing(String smoothingType)
Create and Register smoothing componentSmoothing
TrafficAssignmentBuilder. createAndRegisterSmoothing(String smoothingType)
Create and Register smoothing componentVirtualCost
TrafficAssignmentBuilder. createAndRegisterVirtualCost(String virtualTraveltimeCostFunctionType)
Create and Register virtual link cost function to determine travel timevoid
TraditionalStaticAssignmentBuilder. initialiseDefaults()
Traditional static assignment has the following defaults set for it: - PhysicalCost: BPR - Virtualcost: FIXED - Smoothing: MSA - Gapfunction: LinkBasedRelativeDualityGapvoid
TrafficAssignmentBuilder. initialiseDefaults()
Initialize the traffic assignment defaults for the activated assignment method:void
TrafficAssignmentBuilder. registerInitialLinkSegmentCost(InitialLinkSegmentCostPeriod initialLinkSegmentCost)
Register the initial link segment cost for the time period embedded in itvoid
TrafficAssignmentBuilder. registerInitialLinkSegmentCost(TimePeriod timePeriod, InitialLinkSegmentCost initialLinkSegmentCost)
Register the initial link segment cost for a specified time periodvoid
TrafficAssignmentBuilder. registerOutputFormatter(OutputFormatter outputFormatter)
Register an output formattervoid
TrafficAssignmentBuilder. unregisterOutputFormatter(OutputFormatter outputFormatter)
Remove an output formatter which has already been registered This is used by the Python interface, which registers the PlanItIO formatter by defaultConstructors in org.planit.trafficassignment.builder that throw PlanItException Constructor Description CapacityConstrainedTrafficAssignmentBuilder(CapacityConstrainedAssignment capacityConstrainedAssignment, InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
ConstructorDynamicTrafficAssignmentBuilder(DynamicTrafficAssignment assignment, InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
ConstructorTraditionalStaticAssignmentBuilder(TrafficAssignment parentAssignment, InputBuilderListener trafficComponentCreateListener, Demands demands, Zoning zoning, PhysicalNetwork physicalNetwork)
Constructor -
Uses of PlanItException in org.planit.utils.args
Methods in org.planit.utils.args that throw PlanItException Modifier and Type Method Description static Map<String,String>
ArgumentParser. convertArgsToMap(String[] args)
Convert MetroScan program arguments into a Map of file locations , with file type as key and file location as values -
Uses of PlanItException in org.planit.utils.cumulatives
Methods in org.planit.utils.cumulatives that throw PlanItException Modifier and Type Method Description void
PiecewiseLinearCumulativeCurve. add(CumulativePoint cumulativePoint, double timeInSecondsEpsilon)
append a new cumulative point to the curve which must be later or equal than the current latest point given the passed in timeInSecondsEpsilon -
Uses of PlanItException in org.planit.utils.exceptions
Methods in org.planit.utils.exceptions that throw PlanItException Modifier and Type Method Description static void
PlanItException. throwIf(boolean condition, String message)
Throw a planitException if condition is met -
Uses of PlanItException in org.planit.utils.functionalinterface
Methods in org.planit.utils.functionalinterface that throw PlanItException Modifier and Type Method Description void
QuadConsumer. accept(T t, U u, V v, W w)
Performs this operation on the given argumentsvoid
TriConsumer. accept(T t, U u, V v)
Performs this operation on the given arguments -
Uses of PlanItException in org.planit.utils.network.physical
Methods in org.planit.utils.network.physical that throw PlanItException Modifier and Type Method Description LinkSegment
Link. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment. -
Uses of PlanItException in org.planit.utils.network.physical.macroscopic
Methods in org.planit.utils.network.physical.macroscopic that throw PlanItException Modifier and Type Method Description double
MacroscopicLinkSegment. computeFreeFlowTravelTime(Mode mode)
Compute the free flow travel time by mode, i.e. -
Uses of PlanItException in org.planit.utils.network.virtual
Methods in org.planit.utils.network.virtual that throw PlanItException Modifier and Type Method Description ConnectoidSegment
Connectoid. registerConnectoidSegment(ConnectoidSegment connectoidSegment, boolean directionAB)
Register connectoidSegment. -
Uses of PlanItException in org.planit.utils.reflection
Methods in org.planit.utils.reflection that throw PlanItException Modifier and Type Method Description static Object
ReflectionUtils. createInstance(String className, Object... constructorParameters)
Create an instance of given class name and provided constructor parameters
-