Aimsun Next Scripting  24.0
Public Member Functions | List of all members
PTSkimCalculator Class Reference
Inheritance diagram for PTSkimCalculator:
PTForestCalculator ForestVisitor

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
 
GKODMatrixgenerateTripsMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateCostMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateWaitingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateInitialWaitingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateTransferPenaltyMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateWalkingTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateFareMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateInVehicleTimeMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateInVehicleDistanceMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateCrowdDiscomfortMatrix (const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateCostComponentMatrix (unsigned int componentIndex, const QString &iPrefix, const QString &iName, bool temporary) const
 
GKODMatrixgenerateDerivedCostComponentMatrix (GKFunctionComponent *derivedComponent, const QString &iPrefix, const QString &iName, bool temporary) const
 
QVector< GKODMatrix * > getSkimMatrices (const QString &iPrefix, const QString &iName, bool temporary)
 
- Public Member Functions inherited from PTForestCalculator
 PTForestCalculator (const PTForest &iForest, const PTForestFilter &iFilter, GKModel *iModel, bool iParallelProcessing)
 
const PTForestFiltergetFilter () 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
 

Detailed Description

This class provides the functionality to calculate a skim matrix for a transit assignment

Constructor & Destructor Documentation

◆ PTSkimCalculator()

PTSkimCalculator::PTSkimCalculator ( const PTForest iForest,
const PTForestFilter iFilter,
GKCentroidConfiguration iCenConfig,
bool  iParallelProcessing 
)

Constructor.

Member Function Documentation

◆ generateCostComponentMatrix()

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.*‍/.

◆ generateCostMatrix()

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.*‍/.

◆ generateCrowdDiscomfortMatrix()

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.*‍/.

◆ generateDerivedCostComponentMatrix()

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.*‍/.

◆ generateFareMatrix()

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.*‍/.

◆ generateInitialWaitingTimeMatrix()

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.*‍/.

◆ generateInVehicleDistanceMatrix()

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.*‍/.

◆ generateInVehicleTimeMatrix()

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.*‍/.

◆ generateTransferPenaltyMatrix()

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.*‍/.

◆ generateTripsMatrix()

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.*‍/.

◆ generateWaitingTimeMatrix()

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.*‍/.

◆ generateWalkingTimeMatrix()

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.*‍/.

◆ getCostComponentIndex()

int PTSkimCalculator::getCostComponentIndex ( int  componentID) const

Gets the index in associated to the (non-derived) Cost Component

◆ getSkimMatrices()

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.*‍/.

◆ init()

virtual void PTSkimCalculator::init ( )
virtual

Initializes the class before processing any PTODPair

Reimplemented from PTForestCalculator.

◆ postProcess()

virtual void PTSkimCalculator::postProcess ( )
virtual

Post-processes the class after processing all PTODPair

Reimplemented from PTForestCalculator.

© Aimsun SLU
Aimsun ®