Aimsun Next Scripting
22
|
Classes | |
struct | DTAIterationTask |
Public Member Functions | |
const DTAPTStop * | getOrigin () const |
const DTAPTStop * | getDestination () const |
const GKFunctionCost * | getFareFunction () const |
double | getDistance () const |
DTASimulator () | |
virtual void | configureDTAObjects ()=0 |
virtual void | configureIteration (int iterationNumber)=0 |
virtual void | postIter (bool iscancel)=0 |
virtual void | simulateStepOneShot ()=0 |
virtual double | getTime () const =0 |
virtual bool | isStationary () const =0 |
virtual double | getTimeSta () const =0 |
virtual bool | canFinishNetworkLoadingDTA () const =0 |
virtual void | dynamicalRouteChange ()=0 |
virtual void | deactivateOutputs ()=0 |
virtual void | activateOutputs ()=0 |
virtual bool | slowOutputsActive () const =0 |
const GKSimulatedObject * | object () const |
const GKPoint & | position () const |
uint | internId () const |
qint8 | index () const |
double | length () const |
float | cost (const DTAManager *, const DTAVehicleType *, int) const |
float | travelTime (const DTAManager *, const DTAVehicleType *, int) const |
bool | isVehicleAllowed (const DTAVehicleType *, int) const |
GKPrintLayoutItem (double x, double y, double width, double height) | |
if (base) | |
Py_END_ALLOW_THREADS virtual End | ~GKPrintLayoutItem () |
void | setLayout (GKPrintLayout *_layout) |
GKPrintLayout * | getLayout () const |
QPointF | getPosInPage () const |
QSizeF | getSizeInPage () const |
QSizeF | getSizeInPageInMM () const |
GKBBox | getBBoxInPage () const |
bool | setX (double x) |
bool | setY (double y) |
bool | setWidth (double) |
bool | setHeight (double) |
double | getX () const |
double | getY () const |
double | getWidth () const |
double | getHeight () const |
GKBBox | getBBox () const |
bool | drawFrame () const |
void | setDrawFrame (bool value) |
bool | useBckColor () const |
void | setUseBckColor (bool value) |
QColor | getBckColor () const |
void | setBckColor (QColor color) |
virtual QString | getType ()=0 |
void | setSelected (bool s) |
bool | isSelected () const |
void | setLocked (bool locked) |
bool | isLocked () const |
void | setDisableSimpleDrawing (bool disableSimpleDraw) |
bool | isSimpleDrawDisabled () const |
virtual GKPrintLayoutItem * | clone () |
quint32 | getTick () const |
Public Attributes | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKPrintLayoutItem * | base = (GKPrintLayoutItem*)sipCpp |
sipType = 0 | |
Static Public Attributes | |
static const QString | sDeltaProperty |
static const QString | sDeltaWidthProperty |
static const QString | sDeltaHeightProperty |
Aimsun path class. This is the base class for all paths .
Aimsun Dynamic Traffic Assignment simulator front-end.
This is the base class for all dynamic traffic assignment simulators. For example:
Abstract Class implemented by the differents items to be drawn. The positons and the size of the elements are relative to the PageSize from its owner: GKPrintLayout
|
virtual |
|
pure virtual |
Active statistics.
|
pure virtual |
Returns true if simulation can finish the DNL simulation. This is when the simulation time is greater than the total simulation duration.
|
virtual |
|
pure virtual |
It binds objects from the dynamic network loading model(micro or meso) to DTA objects.
|
pure virtual |
This function is provided for convenience. It has to be reimplemented by the micro or meso simulators in order to initilize its respective internal classes. It's called every time before starting the iteration simulation.
float Abstract::cost | ( | const DTAManager * | , |
const DTAVehicleType * | , | ||
int | |||
) | const |
|
pure virtual |
Deactivate statistics.
bool Abstract::drawFrame | ( | ) | const |
Returns true if set to draw a black frame at the border of the element. False otherwise
Abstract::DTASimulator | ( | ) |
|
pure virtual |
This function is provided for convenience. It has to be reimplemented by the micro or meso simulators in order to run the dynamic route change. See Aimsun Next Hybrid Meso-Micro model explanation in the manual.
GKBBox Abstract::getBBox | ( | ) | const |
GKBBox Abstract::getBBoxInPage | ( | ) | const |
QColor Abstract::getBckColor | ( | ) | const |
const DTAPTStop * Abstract::getDestination | ( | ) | const |
double Abstract::getDistance | ( | ) | const |
const GKFunctionCost * Abstract::getFareFunction | ( | ) | const |
double Abstract::getHeight | ( | ) | const |
GKPrintLayout * Abstract::getLayout | ( | ) | const |
const DTAPTStop * Abstract::getOrigin | ( | ) | const |
QPointF Abstract::getPosInPage | ( | ) | const |
The relative (to the layout) position of this item.
QSizeF Abstract::getSizeInPage | ( | ) | const |
QSizeF Abstract::getSizeInPageInMM | ( | ) | const |
quint32 Abstract::getTick | ( | ) | const |
|
pure virtual |
Returns the current time.
|
pure virtual |
Returns the current time using the initial time as the starting time. During the warm-up the return value is the initial time less the corresponding warm-up simulation time.
|
pure virtual |
double Abstract::getWidth | ( | ) | const |
double Abstract::getX | ( | ) | const |
double Abstract::getY | ( | ) | const |
Abstract::GKPrintLayoutItem | ( | double | x, |
double | y, | ||
double | width, | ||
double | height | ||
) |
|
inline |
References GKSystem::getSystem().
qint8 Abstract::index | ( | ) | const |
uint Abstract::internId | ( | ) | const |
bool Abstract::isLocked | ( | ) | const |
bool Abstract::isSelected | ( | ) | const |
bool Abstract::isSimpleDrawDisabled | ( | ) | const |
|
pure virtual |
Returns true if current time is greater than the warm-up time.
bool Abstract::isVehicleAllowed | ( | const DTAVehicleType * | , |
int | |||
) | const |
double Abstract::length | ( | ) | const |
const GKSimulatedObject * Abstract::object | ( | ) | const |
const GKPoint & Abstract::position | ( | ) | const |
|
pure virtual |
This function is provided for convenience. It has to be reimplemented by the micro or meso simulators in order to initilize its respective internal classes. It's called every time a iteration simulation is finished.
void Abstract::setBckColor | ( | QColor | color | ) |
void Abstract::setDisableSimpleDrawing | ( | bool | disableSimpleDraw | ) |
void Abstract::setDrawFrame | ( | bool | value | ) |
Use true to draw a black frame at the border of the element. False otherwise
bool Abstract::setHeight | ( | double | ) |
Sets Height. Returns false if the specified value as been bounded because out-of-page, else return true.
void Abstract::setLayout | ( | GKPrintLayout * | _layout | ) |
void Abstract::setLocked | ( | bool | locked | ) |
void Abstract::setSelected | ( | bool | s | ) |
void Abstract::setUseBckColor | ( | bool | value | ) |
bool Abstract::setWidth | ( | double | ) |
Sets Width. Returns false if the specified value as been bounded because out-of-page, else return true.
bool Abstract::setX | ( | double | x | ) |
Sets X. Returns false if the specified value as been bounded because out-of-page, else return true.
bool Abstract::setY | ( | double | y | ) |
Sets Y. Returns false if the specified value as been bounded because out-of-page, else return true.
|
pure virtual |
Simulated a one shot simulation step.
|
pure virtual |
Returns the current status of statistics. True means that is not gathering statistics false is gathering.
float Abstract::travelTime | ( | const DTAManager * | , |
const DTAVehicleType * | , | ||
int | |||
) | const |
bool Abstract::useBckColor | ( | ) | const |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKPrintLayoutItem* Abstract::base = (GKPrintLayoutItem*)sipCpp |
|
static |
|
static |
|
static |
Abstract::sipType = 0 |