The following APIs are for use with PC*MILER|RouteMatrix:
- PCMSMatrixAddStop adds a stop to the stop list for the trip matrix. If a trip matrix has already been calculated, adding new stops will require a full rerun.
- PCMSMatrixAppendStop appends a stop to the stop list for the trip matrix. Appending a stop will not require a full rerun of the entire trip matrix.
- PCMSMatrixSetOptions sets the routing parameters used when calculating the route for each cell of the matrix.
- PCMSMatrixClear deletes all stops from the trip matrix.
- PCMSMatrixGetStopCount returns the number of stops that are currently part of the trip matrix.
- PCMSMatrixCalculate initiates the calculation of the trip matrix with all of its current stop information.
- PCMSMatrixAddOrigin configures RouteMatrix to only calculate N number of rows, allowing faster transaction times.
- PCMSSetDateOption sets the date option related to the depart time calculation.
- PCMSMatrixSetDepartDayAndTime clears existing depart times and sets the depart time.
- PCMSMatrixAddDepartDayAndTime appends the depart time to existing values.
- PCMSMatrixGetDepartTimeCount returns the count of depart times for the route matrix.
- PCMSMatrixGetCell allows the user to retrieve certain pieces of information from a specific cell in the trip matrix.
- PCMSMatrixGetCell2 allows the user to retrieve certain pieces of information from a specific cell, including the index of the depart times.
- PCMSMatrixSetThreadCount allows the calling application to specify how many threads to use for parallel processing.
- PCMSMatrixSetComputeTollDollars allows the calling application to specify that toll dollars should be generated in the matrix.
- PCMSMatrixSetComputeTollandStateMiles allows the calling application to specify that toll miles by state should be generated in the matrix.
- PCMSGetTravelTimes returns an array of travel times for a trip.
- PCMSMatrixSetMaxAirMiles allows the calling application to specify a maximum airline distance to be used by the PCMSMatrixCalculate in order to decide if it needs to run the route.