Package org.planit.tntp.project
Class TntpProject
- java.lang.Object
-
- org.planit.project.CustomPlanItProject
-
- org.planit.tntp.project.TntpProject
-
public class TntpProject extends CustomPlanItProject
TNTP implementation of CustomPlanItProject- Author:
- gman6028
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.planit.project.CustomPlanItProject
CustomPlanItProject.ProjectAssignmentBuilders
-
-
Field Summary
-
Fields inherited from class org.planit.project.CustomPlanItProject
assignmentBuilders, demands, id, inputBuilderListener, inputs, odPathSets, outputFormatters, physicalNetworks, projectToken, zonings
-
-
Constructor Summary
Constructors Constructor Description TntpProject(String networkFileLocation, String demandFileLocation, String nodeCoordinateFileLocation, Map<NetworkFileColumns,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed)ConstructorTntpProject(String networkFileLocation, String demandFileLocation, Map<NetworkFileColumns,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed)ConstructorTntpProject(TntpInputBuilder tntp)Constructor
-
Method Summary
-
Methods inherited from class org.planit.project.CustomPlanItProject
createAndRegisterDemands, createAndRegisterInfrastructureNetwork, createAndRegisterInitialLinkSegmentCost, createAndRegisterInitialLinkSegmentCost, createAndRegisterInitialLinkSegmentCost, createAndRegisterOdPathSets, createAndRegisterOutputFormatter, createAndRegisterTrafficAssignment, createAndRegisterZoning, executeAllTrafficAssignments, executeTrafficAssignment, getInitialLinkSegmentCost, getOutputFormatter, registerEligibleTrafficComponentClass
-
-
-
-
Constructor Detail
-
TntpProject
public TntpProject(String networkFileLocation, String demandFileLocation, String nodeCoordinateFileLocation, Map<NetworkFileColumns,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed) throws PlanItException
Constructor- Parameters:
networkFileLocation- network input file locationdemandFileLocation- demand input file locationnodeCoordinateFileLocation- node coordinate file locationnetworkFileColumns- Map specifying which columns in the network input file represent which quantitiesspeedUnits- units of speedlengthUnits- units of link lengthcapacityPeriod- time period for link capacitydefaultMaximumSpeed- the default maximum speed along link segments- Throws:
PlanItException- thrown if there is an error
-
TntpProject
public TntpProject(String networkFileLocation, String demandFileLocation, Map<NetworkFileColumns,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed) throws PlanItException
Constructor- Parameters:
networkFileLocation- network input file locationdemandFileLocation- demand input file locationnetworkFileColumns- Map specifying which columns in the network input file represent which quantitiesspeedUnits- units of speedlengthUnits- units of link lengthcapacityPeriod- time period for link capacitydefaultMaximumSpeed- the default maximum speed along link segments- Throws:
PlanItException- thrown if there is an error
-
TntpProject
public TntpProject(TntpInputBuilder tntp)
Constructor- Parameters:
tntp- Tntp object already instantiated
-
-