Aimsun Next Scripting
22
|
double DTACentroid::evaluateRouteChoiceFunction | ( | const DTAManager * | manager, |
DTACentroid * | origin, | ||
const DTAGenericPath * | path, | ||
DTASection * | entranceSection, | ||
DTAVehicleType * | vehType, | ||
DTADescription::RouteChoiceType | rcType, | ||
const GKFunctionCostContext * | context | ||
) |
Returns the probability of using the path form origin and this destination with vehicle type and using a the route choice function rcType.
bool DTACentroid::getAsDestConsider_percentage | ( | ) | const |
Returns true if this centroid is using destination percentages.
bool DTACentroid::getAsOrigConsider_percentage | ( | ) | const |
Returns true if this centroid is using origin percentages.
int DTACentroid::getEntranceConnector | ( | DTASection * | asect | ) | const |
Returns the index going from 0 to getNumEntranceConnections()-1 that has the section. Returns -1 if this section is not used in any connector.
const DTASection * DTACentroid::getEntranceSection | ( | uint | pos | ) | const |
Returns the entrance section by using the index going from 0 to getNumEntranceSections()-1.
int DTACentroid::getExitConnector | ( | DTASection * | asect | ) | const |
Returns the index going from 0 to getNumExitConnections()-1 that has the section. Returns -1 if this section is not used in any connector.
const DTASection * DTACentroid::getExitSection_ | ( | uint | pos | ) | const |
Returns the exit section by using the index going from 0 to getNumExitSections()-1.
uint DTACentroid::getNbConnectorsConsiderAsDest | ( | ) | const |
Returns the number of exit connections taking into account if this centroid is using destination percentages. If it's not using destination percentages then returns 1.
uint DTACentroid::getNbConnectorsConsiderAsOrig | ( | ) | const |
Returns the number of entrance connections taking into account if this centroid is using origin percentages. If it's not using origin percentages then returns 1.
uint DTACentroid::getNumEntranceConnections | ( | ) | const |
Returns the number of entrance connectors. Connectors that let vehicles enter into the network.
int DTACentroid::getNumEntranceSections | ( | ) | const |
Returns the number of entrance sections. Sections that let vehicles enter into the network.
uint DTACentroid::getNumExitConnections | ( | ) | const |
Returns the number of exit connectors. Connectors that let vehicles exit the network.
int DTACentroid::getNumExitSections | ( | ) | const |
Returns the number of exit sections. Sections that let vehicles exit the network.
bool DTACentroid::getOnlyBestEntrance | ( | ) | const |
Returns true if this centroid is using the best entrance option.
double DTACentroid::getPercentageEntranceConnection | ( | uint | pos | ) | const |
Returns the percentage of the connector defined by pos (from 0 to getNumExitConnections()-1). Returns 0 if this pos or this centroid is no using percentages.
double DTACentroid::getPercentageExitConnection | ( | uint | pos | ) | const |
Returns the percentage of the connector defined by pos (from 0 to getNumEntranceConnections()-1). Returns 0 if this pos or this centroid is no using percentages.
const GKCentroid * DTACentroid::getRelatedCentroid | ( | ) | const |
Returns the related kernel centroid.
bool DTACentroid::hasExitSection | ( | DTASection * | sect | ) | const |
Returns true if this centroid has the section as an exit section.
bool DTACentroid::hasReservedEntranceConnection | ( | const DTANetwork * | network, |
uint | pos | ||
) | const |
Returns true if the connection defined by pos (from 0 to getNumEntranceConnections()-1) is reserved by any vehicle type.
bool DTACentroid::hasReservedExitConnection | ( | const DTANetwork * | network, |
uint | pos | ||
) | const |
Returns true if the connection defined by pos (from 0 to getNumExitConnections()-1) is reserved by any vehicle type.
bool DTACentroid::isValidEntranceConnectorForVehicleType | ( | uint | pos, |
const DTAVehicleType * | vehType | ||
) | const |
Returns true if this connector pos (from 0 to getNumEntranceConnections()-1) can be used by vehicle type.
bool DTACentroid::isValidExitConnectorForVehicleType | ( | uint | pos, |
const DTAVehicleType * | vehType | ||
) | const |
Returns true if this connector pos (from 0 to getNumExitConnections()-1) can be used by vehicle type.