![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class for CarFollowingModel More...
#include <GNEVehicleTypeDialog.h>
Data Structures | |
class | CarFollowingModelRow |
class used for represent rows with Car Following Model parameters More... | |
Public Member Functions | |
CarFollowingModelParameters (GNEVehicleTypeDialog *vehicleTypeDialog, FXHorizontalFrame *column) | |
FOX-declaration. More... | |
void | refreshCFMFields () |
refresh Car Following Model Fields More... | |
void | updateValues () |
update values More... | |
FOX-callbacks | |
@event called after change a CFM variable | |
long | onCmdSetVariable (FXObject *, FXSelector, void *) |
class for CarFollowingModel
Definition at line 424 of file GNEVehicleTypeDialog.h.
GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters | ( | GNEVehicleTypeDialog * | vehicleTypeDialog, |
FXHorizontalFrame * | column | ||
) |
FOX-declaration.
constructor
Definition at line 1291 of file GNEVehicleTypeDialog.cpp.
References MFXComboBoxIcon::appendIconItem(), SUMOXMLDefinitions::CarFollowModels, StringBijection< T >::getStrings(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignComboBoxVisibleItemsMedium, GUIDesignLabelAboutInfoCenter, GUIDesignLabelThickedFixed, MID_GNE_SET_ATTRIBUTE, myAccelRow, myAdaptFactorRow, myAdaptTimeRow, myApparentDecelRow, myAprobRow, myCcoolnessRow, myComboBoxCarFollowModel, myDecelRow, myDeltaRow, myEmergencyDecelRow, myEpsilonaccRow, myEstimationRow, myJerkmaxRow, myKRow, myLabelIncompleteAttribute, myMaxVehPreviewRow, myMbeginRow, myMflatnessRow, myMinGapFactorRow, myPhiRow, myRows, mySecurityRow, mySigmaerrorRow, mySigmagapRow, mySigmaleaderRow, mySigmaRow, mySteppingRow, myTaccmaxRow, myTauRow, myTmp1Row, myTmp2Row, myTmp3Row, myTmp4Row, myTmp5Row, myTPersDriveRow, myTPersEstimateRow, myTpreviewRow, myTrainTypeRow, myTrauLastRow, myTreactionRow, myUseVehDynamicsRow, myVerticalFrameRows, myW99CC1, myW99CC2, myW99CC3, myW99CC4, myW99CC5, myW99CC6, myW99CC7, myW99CC8, myW99CC9, refreshCFMFields(), SUMO_ATTR_ACCEL, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_CF_EIDM_C_COOLNESS, SUMO_ATTR_CF_EIDM_EPSILON_ACC, SUMO_ATTR_CF_EIDM_JERK_MAX, SUMO_ATTR_CF_EIDM_M_BEGIN, SUMO_ATTR_CF_EIDM_M_FLATNESS, SUMO_ATTR_CF_EIDM_MAX_VEH_PREVIEW, SUMO_ATTR_CF_EIDM_SIG_ERROR, SUMO_ATTR_CF_EIDM_SIG_GAP, SUMO_ATTR_CF_EIDM_SIG_LEADER, SUMO_ATTR_CF_EIDM_T_ACC_MAX, SUMO_ATTR_CF_EIDM_T_LOOK_AHEAD, SUMO_ATTR_CF_EIDM_T_PERSISTENCE_DRIVE, SUMO_ATTR_CF_EIDM_T_PERSISTENCE_ESTIMATE, SUMO_ATTR_CF_EIDM_T_REACTION, SUMO_ATTR_CF_EIDM_USEVEHDYNAMICS, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_W99_CC1, SUMO_ATTR_CF_W99_CC2, SUMO_ATTR_CF_W99_CC3, SUMO_ATTR_CF_W99_CC4, SUMO_ATTR_CF_W99_CC5, SUMO_ATTR_CF_W99_CC6, SUMO_ATTR_CF_W99_CC7, SUMO_ATTR_CF_W99_CC8, SUMO_ATTR_CF_W99_CC9, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_K, SUMO_ATTR_SIGMA, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, and SUMO_ATTR_TRAIN_TYPE.
long GNEVehicleTypeDialog::CarFollowingModelParameters::onCmdSetVariable | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 1744 of file GNEVehicleTypeDialog.cpp.
References SUMO_ATTR_CAR_FOLLOW_MODEL, and SUMO_ATTR_NOTHING.
Referenced by FXDEFMAP().
void GNEVehicleTypeDialog::CarFollowingModelParameters::refreshCFMFields | ( | ) |
refresh Car Following Model Fields
The follow parameters has to be added: SUMO_ATTR_SC_GAIN SUMO_ATTR_GCC_GAIN_SPEED SUMO_ATTR_GCC_GAIN_SPACE SUMO_ATTR_GC_GAIN_SPEED SUMO_ATTR_GC_GAIN_SPACE SUMO_ATTR_CA_GAIN_SPEED SUMO_ATTR_CA_GAIN_SPACE
The follow parameters has to be added: SUMO_ATTR_SC_GAIN_CACC SUMO_ATTR_GCC_GAIN_GAP_CACC SUMO_ATTR_GCC_GAIN_GAP_DOT_CACC SUMO_ATTR_GC_GAIN_GAP_CACC SUMO_ATTR_GC_GAIN_GAP_DOT_CACC SUMO_ATTR_CA_GAIN_GAP_CACC SUMO_ATTR_CA_GAIN_GAP_DOT_CACC SUMO_ATTR_GCC_GAIN_SPEED SUMO_ATTR_GCC_GAIN_SPACE SUMO_ATTR_GC_GAIN_SPEED SUMO_ATTR_GC_GAIN_SPACE SUMO_ATTR_CA_GAIN_SPEED SUMO_ATTR_CA_GAIN_SPACE
The follow parameters has to be added: SUMO_ATTR_CF_CC_C1 SUMO_ATTR_CF_CC_CCDECEL SUMO_ATTR_CF_CC_CONSTSPACING SUMO_ATTR_CF_CC_KP SUMO_ATTR_CF_CC_LAMBDA SUMO_ATTR_CF_CC_OMEGAN SUMO_ATTR_CF_CC_TAU SUMO_ATTR_CF_CC_XI SUMO_ATTR_CF_CC_LANES_COUNT SUMO_ATTR_CF_CC_CCACCEL SUMO_ATTR_CF_CC_PLOEG_KP SUMO_ATTR_CF_CC_PLOEG_KD SUMO_ATTR_CF_CC_PLOEG_H SUMO_ATTR_CF_CC_FLATBED_KA SUMO_ATTR_CF_CC_FLATBED_KV SUMO_ATTR_CF_CC_FLATBED_KP SUMO_ATTR_CF_CC_FLATBED_D SUMO_ATTR_CF_CC_FLATBED_H
Definition at line 1508 of file GNEVehicleTypeDialog.cpp.
References SUMOXMLDefinitions::CarFollowModels, nlohmann::detail::get(), SUMO_TAG_CF_ACC, SUMO_TAG_CF_BKERNER, SUMO_TAG_CF_CACC, SUMO_TAG_CF_CC, SUMO_TAG_CF_DANIEL1, SUMO_TAG_CF_EIDM, SUMO_TAG_CF_IDM, SUMO_TAG_CF_IDMM, SUMO_TAG_CF_KRAUSS, SUMO_TAG_CF_KRAUSS_ORIG1, SUMO_TAG_CF_KRAUSS_PLUS_SLOPE, SUMO_TAG_CF_KRAUSSX, SUMO_TAG_CF_PWAGNER2009, SUMO_TAG_CF_RAIL, SUMO_TAG_CF_SMART_SK, SUMO_TAG_CF_W99, and SUMO_TAG_CF_WIEDEMANN.
Referenced by CarFollowingModelParameters().
void GNEVehicleTypeDialog::CarFollowingModelParameters::updateValues | ( | ) |
update values
Definition at line 1720 of file GNEVehicleTypeDialog.cpp.
References SUMO_ATTR_CAR_FOLLOW_MODEL.
Referenced by GNEVehicleTypeDialog::GNEVehicleTypeDialog(), and GNEVehicleTypeDialog::onCmdReset().
|
private |
Row for Accel.
Definition at line 485 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Adapt Factor.
Definition at line 548 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Adapt Time.
Definition at line 551 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for apparent Decel.
Definition at line 491 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Aprob.
Definition at line 545 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Coolness parameter.
Definition at line 593 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for CarFollowModel.
Definition at line 479 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Decel.
Definition at line 488 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for MinGap (only for IDM)
Definition at line 512 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for emergency Decel.
Definition at line 494 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for AP Driver Update threshold.
Definition at line 608 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Estimation (only for Wiedemann)
Definition at line 521 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for max jerk.
Definition at line 605 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for MinGap (only for Kerner)
Definition at line 506 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
temporal label for incomplete attributes
Definition at line 626 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Using vehicle preview.
Definition at line 623 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Startup M begin.
Definition at line 617 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Startup M flatness.
Definition at line 614 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for MinGapFactor.
Definition at line 503 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for MinGap (only for Kerner)
Definition at line 509 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
vector with the Car Following Model Row
Definition at line 476 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Security (only for Wiedemann)
Definition at line 518 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Driving Error.
Definition at line 602 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Gap estimation error.
Definition at line 599 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for leader speed estimation error.
Definition at line 596 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Sigma.
Definition at line 497 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for MinGap(only for IDM)
Definition at line 515 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Startup Time to acc_max.
Definition at line 611 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Tau.
Definition at line 500 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TMP1.
Definition at line 524 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TMP2.
Definition at line 527 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TMP3.
Definition at line 530 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TMP4.
Definition at line 533 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TMP5.
Definition at line 536 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Wiener Process Driving Error.
Definition at line 587 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Wiener Process Estimation Error.
Definition at line 590 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Look ahead/preview Time.
Definition at line 581 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TrainType.
Definition at line 539 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for TauLast.
Definition at line 542 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Reaction Time.
Definition at line 584 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for Using vehicle dynamics.
Definition at line 620 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
pointer to Vehicle Type dialog parent
Definition at line 473 of file GNEVehicleTypeDialog.h.
|
private |
Vertical Frame for CarFollowingModelRow.
Definition at line 482 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 01.
Definition at line 554 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 02.
Definition at line 557 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 03.
Definition at line 560 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 04.
Definition at line 563 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 05.
Definition at line 566 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 06.
Definition at line 569 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 07.
Definition at line 572 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 08.
Definition at line 575 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().
|
private |
Row for W99 CC 09.
Definition at line 578 of file GNEVehicleTypeDialog.h.
Referenced by CarFollowingModelParameters().