Aimsun Next Scripting
24.0
|
Public Member Functions | |
PTSkimCalculator (const PTForest &iForest, const PTForestFilter &iFilter, GKCentroidConfiguration *iCenConfig, bool iParallelProcessing) | |
virtual void | init () |
virtual void | postProcess () |
int | getCostComponentIndex (int componentID) const |
GKODMatrix * | generateTripsMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateCostMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateWaitingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateInitialWaitingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateTransferPenaltyMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateWalkingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateFareMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateInVehicleTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateInVehicleDistanceMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateCrowdDiscomfortMatrix (const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateCostComponentMatrix (unsigned int componentIndex, const QString &iPrefix, const QString &iName, bool temporary) const |
GKODMatrix * | generateDerivedCostComponentMatrix (GKFunctionComponent *derivedComponent, const QString &iPrefix, const QString &iName, bool temporary) const |
QVector< GKODMatrix * > | getSkimMatrices (const QString &iPrefix, const QString &iName, bool temporary) |
![]() | |
PTForestCalculator (const PTForest &iForest, const PTForestFilter &iFilter, GKModel *iModel, bool iParallelProcessing) | |
const PTForestFilter & | getFilter () const |
virtual void | init () |
virtual void | postProcess () |
virtual void | doPTODPair (const PTODPair &iODPair) |
void | visit (const PTForest &iForest) |
virtual void | visit (const PTForest &iForest)=0 |
This class provides the functionality to calculate a skim matrix for a transit assignment
PTSkimCalculator::PTSkimCalculator | ( | const PTForest & | iForest, |
const PTForestFilter & | iFilter, | ||
GKCentroidConfiguration * | iCenConfig, | ||
bool | iParallelProcessing | ||
) |
Constructor.
GKODMatrix * PTSkimCalculator::generateCostComponentMatrix | ( | unsigned int | componentIndex, |
const QString & | iPrefix, | ||
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Cost Component Skimmatrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateCostMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Cost Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateCrowdDiscomfortMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Crowd Discomfort Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateDerivedCostComponentMatrix | ( | GKFunctionComponent * | derivedComponent, |
const QString & | iPrefix, | ||
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Derived Cost Component Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateFareMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Fare Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateInitialWaitingTimeMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Initial Waiting Time Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateInVehicleDistanceMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated In-Vehicle Distance Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateInVehicleTimeMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated In-Vehicle Time Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateTransferPenaltyMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Transfer Penalty Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateTripsMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Trips matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateWaitingTimeMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Waiting Time Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
GKODMatrix * PTSkimCalculator::generateWalkingTimeMatrix | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) | const |
Get the calculated Walking Time Skim matrix. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
int PTSkimCalculator::getCostComponentIndex | ( | int | componentID | ) | const |
Gets the index in associated to the (non-derived) Cost Component
QVector< GKODMatrix * > PTSkimCalculator::getSkimMatrices | ( | const QString & | iPrefix, |
const QString & | iName, | ||
bool | temporary | ||
) |
Get the calculated skim matrices. The Prefix and Suffix are strings added at the front and back of the GKODMatrix name respectively. This matrix can be temporary if desired using the "temporary" option.*/.
|
virtual |
Initializes the class before processing any PTODPair
Reimplemented from PTForestCalculator.
|
virtual |
Post-processes the class after processing all PTODPair
Reimplemented from PTForestCalculator.