Package org.goplanit.tntp.project
Class TntpProject
- java.lang.Object
-
- org.goplanit.project.CustomPlanItProject
-
- org.goplanit.tntp.project.TntpProject
-
public class TntpProject extends CustomPlanItProject
TNTP implementation of CustomPlanItProject- Author:
- gman6028
-
-
Field Summary
-
Fields inherited from class org.goplanit.project.CustomPlanItProject
assignmentBuilders, demands, id, inputBuilderListener, inputs, odPathSets, outputFormatters, physicalNetworks, projectToken, routedServices, serviceNetworks, zonings
-
-
Constructor Summary
Constructors Constructor Description TntpProject(String networkFileLocation, String demandFileLocation, String nodeCoordinateFileLocation, Map<NetworkFileColumnType,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed)
ConstructorTntpProject(String networkFileLocation, String demandFileLocation, Map<NetworkFileColumnType,Integer> networkFileColumns, SpeedUnits speedUnits, LengthUnits lengthUnits, CapacityPeriod capacityPeriod, double defaultMaximumSpeed)
ConstructorTntpProject(TntpInputBuilder tntp)
Constructor
-
Method Summary
-
Methods inherited from class org.goplanit.project.CustomPlanItProject
createAndRegisterDemands, createAndRegisterInfrastructureNetwork, createAndRegisterInitialLinkSegmentCost, createAndRegisterInitialLinkSegmentCost, createAndRegisterOdPathSets, createAndRegisterOutputFormatter, createAndRegisterRoutedServices, createAndRegisterServiceNetwork, createAndRegisterTrafficAssignment, createAndRegisterZoning, executeAllTrafficAssignments, executeTrafficAssignment, getInitialLinkSegmentCost, getOutputFormatter, registerEligibleTrafficComponentClass
-
-
-
-
Constructor Detail
-
TntpProject
public TntpProject(String networkFileLocation, String demandFileLocation, String nodeCoordinateFileLocation, Map<NetworkFileColumnType,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<NetworkFileColumnType,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
-
-