DomesticInternodalPassengerDemand

public class DomesticInternodalPassengerDemand extends InternodalPassengerDemand

This class encapsulates domestic internodal (domestic airport to domestic airport) passenger data.

Author:Milan Lovric

Constructors

DomesticInternodalPassengerDemand

public DomesticInternodalPassengerDemand()

DomesticInternodalPassengerDemand

public DomesticInternodalPassengerDemand(String fileName)

Constructor that reads OD matrix from an input csv file.

Parameters:
  • fileName – Path to the input file.
Throws:
  • IOException – if any.
  • FileNotFoundException – if any.

Methods

saveAirPassengerDemand

public void saveAirPassengerDemand(int year, String outputFile)

Saves air passenger demand to an output file.

Parameters:
  • year – Year of the data.
  • outputFile – Output file name (with path).