Class TntpProject


  • public class TntpProject
    extends CustomPlanItProject
    TNTP implementation of CustomPlanItProject
    Author:
    gman6028
    • 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 location
        demandFileLocation - demand input file location
        nodeCoordinateFileLocation - node coordinate file location
        networkFileColumns - Map specifying which columns in the network input file represent which quantities
        speedUnits - units of speed
        lengthUnits - units of link length
        capacityPeriod - time period for link capacity
        defaultMaximumSpeed - 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 location
        demandFileLocation - demand input file location
        networkFileColumns - Map specifying which columns in the network input file represent which quantities
        speedUnits - units of speed
        lengthUnits - units of link length
        capacityPeriod - time period for link capacity
        defaultMaximumSpeed - 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