Eclipse SUMO - Simulation of Urban MObility
GNEVehicleTypeDialog::CarFollowingModelParameters Class Reference

class for CarFollowingModel More...

#include <GNEVehicleTypeDialog.h>

Inheritance diagram for GNEVehicleTypeDialog::CarFollowingModelParameters:
Collaboration diagram for GNEVehicleTypeDialog::CarFollowingModelParameters:

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

called after change a CFM variable

long onCmdSetVariable (FXObject *, FXSelector, void *)
 

Protected Member Functions

 CarFollowingModelParameters ()
 fox need this More...
 

Private Attributes

CarFollowingModelRowmyAccelRow
 Row for Accel. More...
 
CarFollowingModelRowmyAdaptFactorRow
 Row for Adapt Factor. More...
 
CarFollowingModelRowmyAdaptTimeRow
 Row for Adapt Time. More...
 
CarFollowingModelRowmyApparentDecelRow
 Row for aparent Decel. More...
 
CarFollowingModelRowmyAprobRow
 Row for Aprob. More...
 
FXComboBox * myComboBoxCarFollowModel
 Row for CarFollowModel. More...
 
CarFollowingModelRowmyDecelRow
 Row for Decel. More...
 
CarFollowingModelRowmyDeltaRow
 Row for MinGap (only for IDM) More...
 
CarFollowingModelRowmyEmergencyDecelRow
 Row for emergency Decel. More...
 
CarFollowingModelRowmyEstimationRow
 Row for Estimation (only for Wiedemann) More...
 
CarFollowingModelRowmyKRow
 Row for MinGap (only for Kerner) More...
 
FXLabel * myLabelIncompleteAttribute
 temporal label for incomplete attributes More...
 
CarFollowingModelRowmyMinGapFactorRow
 Row for MinGapFactor. More...
 
CarFollowingModelRowmyPhiRow
 Row for MinGap (only for Kerner) More...
 
std::vector< CarFollowingModelRow * > myRows
 vector with the Car Following Model Row More...
 
CarFollowingModelRowmySecurityRow
 Row for Security (only for Wiedemann) More...
 
CarFollowingModelRowmySigmaRow
 Row for Sigma. More...
 
CarFollowingModelRowmySteppingRow
 Row for MinGap(only for IDM) More...
 
CarFollowingModelRowmyTauRow
 Row for Tau. More...
 
CarFollowingModelRowmyTmp1Row
 Row for TMP1. More...
 
CarFollowingModelRowmyTmp2Row
 Row for TMP2. More...
 
CarFollowingModelRowmyTmp3Row
 Row for TMP3. More...
 
CarFollowingModelRowmyTmp4Row
 Row for TMP4. More...
 
CarFollowingModelRowmyTmp5Row
 Row for TMP5. More...
 
CarFollowingModelRowmyTrainTypeRow
 Row for TrainType. More...
 
CarFollowingModelRowmyTrauLastRow
 Row for TauLast. More...
 
GNEVehicleTypeDialogmyVehicleTypeDialog
 pointer to Vehicle Type dialog parent More...
 
FXVerticalFrame * myVerticalFrameRows
 Vertical Frame for CarFollowingModelRow. More...
 

Detailed Description

class for CarFollowingModel

Definition at line 401 of file GNEVehicleTypeDialog.h.

Constructor & Destructor Documentation

◆ CarFollowingModelParameters() [1/2]

◆ CarFollowingModelParameters() [2/2]

GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters ( )
inlineprotected

fox need this

Definition at line 423 of file GNEVehicleTypeDialog.h.

Member Function Documentation

◆ onCmdSetVariable()

◆ refreshCFMFields()

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 1249 of file GNEVehicleTypeDialog.cpp.

References SUMOXMLDefinitions::CarFollowModels, myAccelRow, myAdaptFactorRow, myAdaptTimeRow, myApparentDecelRow, myAprobRow, myComboBoxCarFollowModel, myDecelRow, myEmergencyDecelRow, myEstimationRow, myKRow, myLabelIncompleteAttribute, myMinGapFactorRow, myPhiRow, myRows, mySecurityRow, mySigmaRow, mySteppingRow, myTauRow, myTmp1Row, myTmp2Row, myTmp3Row, myTmp4Row, myTmp5Row, myTrainTypeRow, myTrauLastRow, myVerticalFrameRows, SUMO_TAG_CF_ACC, SUMO_TAG_CF_BKERNER, SUMO_TAG_CF_CACC, SUMO_TAG_CF_CC, SUMO_TAG_CF_DANIEL1, 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, and SUMO_TAG_CF_WIEDEMANN.

Referenced by CarFollowingModelParameters(), onCmdSetVariable(), and updateValues().

◆ updateValues()

Field Documentation

◆ myAccelRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myAccelRow
private

Row for Accel.

Definition at line 462 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myAdaptFactorRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myAdaptFactorRow
private

Row for Adapt Factor.

Definition at line 525 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myAdaptTimeRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myAdaptTimeRow
private

Row for Adapt Time.

Definition at line 528 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myApparentDecelRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myApparentDecelRow
private

Row for aparent Decel.

Definition at line 468 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myAprobRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myAprobRow
private

Row for Aprob.

Definition at line 522 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myComboBoxCarFollowModel

FXComboBox* GNEVehicleTypeDialog::CarFollowingModelParameters::myComboBoxCarFollowModel
private

Row for CarFollowModel.

Definition at line 456 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), onCmdSetVariable(), refreshCFMFields(), and updateValues().

◆ myDecelRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myDecelRow
private

Row for Decel.

Definition at line 465 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myDeltaRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myDeltaRow
private

Row for MinGap (only for IDM)

Definition at line 489 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters().

◆ myEmergencyDecelRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myEmergencyDecelRow
private

Row for emergency Decel.

Definition at line 471 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myEstimationRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myEstimationRow
private

Row for Estimation (only for Wiedemann)

Definition at line 498 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myKRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myKRow
private

Row for MinGap (only for Kerner)

Definition at line 483 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myLabelIncompleteAttribute

FXLabel* GNEVehicleTypeDialog::CarFollowingModelParameters::myLabelIncompleteAttribute
private

temporal label for incomplete attributes

Definition at line 531 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myMinGapFactorRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myMinGapFactorRow
private

Row for MinGapFactor.

Definition at line 480 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myPhiRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myPhiRow
private

Row for MinGap (only for Kerner)

Definition at line 486 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myRows

std::vector<CarFollowingModelRow*> GNEVehicleTypeDialog::CarFollowingModelParameters::myRows
private

vector with the Car Following Model Row

Definition at line 453 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), onCmdSetVariable(), refreshCFMFields(), and updateValues().

◆ mySecurityRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::mySecurityRow
private

Row for Security (only for Wiedemann)

Definition at line 495 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ mySigmaRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::mySigmaRow
private

Row for Sigma.

Definition at line 474 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ mySteppingRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::mySteppingRow
private

Row for MinGap(only for IDM)

Definition at line 492 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTauRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTauRow
private

Row for Tau.

Definition at line 477 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTmp1Row

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTmp1Row
private

Row for TMP1.

Definition at line 501 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTmp2Row

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTmp2Row
private

Row for TMP2.

Definition at line 504 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTmp3Row

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTmp3Row
private

Row for TMP3.

Definition at line 507 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTmp4Row

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTmp4Row
private

Row for TMP4.

Definition at line 510 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTmp5Row

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTmp5Row
private

Row for TMP5.

Definition at line 513 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTrainTypeRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTrainTypeRow
private

Row for TrainType.

Definition at line 516 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myTrauLastRow

CarFollowingModelRow* GNEVehicleTypeDialog::CarFollowingModelParameters::myTrauLastRow
private

Row for TauLast.

Definition at line 519 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().

◆ myVehicleTypeDialog

◆ myVerticalFrameRows

FXVerticalFrame* GNEVehicleTypeDialog::CarFollowingModelParameters::myVerticalFrameRows
private

Vertical Frame for CarFollowingModelRow.

Definition at line 459 of file GNEVehicleTypeDialog.h.

Referenced by CarFollowingModelParameters(), and refreshCFMFields().


The documentation for this class was generated from the following files: