Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <iostream>
#include <algorithm>
#include <utils/common/FileHelpers.h>
#include <utils/common/StringTokenizer.h>
#include <utils/common/StringUtils.h>
#include <utils/geom/GeoConvHelper.h>
#include <utils/geom/GeomHelper.h>
#include <utils/geom/Position.h>
#include <utils/options/OptionsCont.h>
#include <utils/iodevices/OutputDevice.h>
#include <utils/vehicle/SUMOVehicle.h>
#include <microsim/MSNet.h>
#include <microsim/MSJunction.h>
#include <microsim/MSLane.h>
#include <microsim/MSLink.h>
#include <microsim/MSEdge.h>
#include <microsim/MSVehicle.h>
#include <microsim/MSVehicleControl.h>
#include <microsim/MSJunctionControl.h>
#include <microsim/lcmodels/MSAbstractLaneChangeModel.h>
#include "MSDevice_SSM.h"
Go to the source code of this file.
Macros | |
#define | AVAILABLE_SSMS "TTC DRAC PET BR SGAP TGAP PPET MDRAC" |
#define | DEFAULT_EXTRA_TIME 5. |
#define | DEFAULT_THRESHOLD_BR 0.0 |
#define | DEFAULT_THRESHOLD_DRAC 3. |
#define | DEFAULT_THRESHOLD_MDRAC 3.4 |
#define | DEFAULT_THRESHOLD_PET 2. |
#define | DEFAULT_THRESHOLD_PPET 2. |
#define | DEFAULT_THRESHOLD_SGAP 0.2 |
#define | DEFAULT_THRESHOLD_TGAP 0.5 |
#define | DEFAULT_THRESHOLD_TTC 3. |
Functions | |
std::ostream & | operator<< (std::ostream &out, MSDevice_SSM::EncounterType type) |
Nicer output for EncounterType enum. | |
Definition in file MSDevice_SSM.cpp.
#define AVAILABLE_SSMS "TTC DRAC PET BR SGAP TGAP PPET MDRAC" |
Definition at line 80 of file MSDevice_SSM.cpp.
#define DEFAULT_EXTRA_TIME 5. |
Definition at line 92 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_BR 0.0 |
Definition at line 88 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_DRAC 3. |
Definition at line 82 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_MDRAC 3.4 |
Definition at line 83 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_PET 2. |
Definition at line 85 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_PPET 2. |
Definition at line 86 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_SGAP 0.2 |
Definition at line 89 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_TGAP 0.5 |
Definition at line 90 of file MSDevice_SSM.cpp.
#define DEFAULT_THRESHOLD_TTC 3. |
Definition at line 81 of file MSDevice_SSM.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
MSDevice_SSM::EncounterType | type | ||
) |
Nicer output for EncounterType enum.
Definition at line 106 of file MSDevice_SSM.cpp.
References MSDevice_SSM::ENCOUNTER_TYPE_BOTH_ENTERED_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_BOTH_LEFT_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_COLLISION, MSDevice_SSM::ENCOUNTER_TYPE_CROSSING, MSDevice_SSM::ENCOUNTER_TYPE_CROSSING_FOLLOWER, MSDevice_SSM::ENCOUNTER_TYPE_CROSSING_LEADER, MSDevice_SSM::ENCOUNTER_TYPE_EGO_ENTERED_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_EGO_LEFT_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_FOE_ENTERED_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_FOE_LEFT_CONFLICT_AREA, MSDevice_SSM::ENCOUNTER_TYPE_FOLLOWING, MSDevice_SSM::ENCOUNTER_TYPE_FOLLOWING_FOLLOWER, MSDevice_SSM::ENCOUNTER_TYPE_FOLLOWING_LEADER, MSDevice_SSM::ENCOUNTER_TYPE_FOLLOWING_PASSED, MSDevice_SSM::ENCOUNTER_TYPE_MERGING, MSDevice_SSM::ENCOUNTER_TYPE_MERGING_ADJACENT, MSDevice_SSM::ENCOUNTER_TYPE_MERGING_FOLLOWER, MSDevice_SSM::ENCOUNTER_TYPE_MERGING_LEADER, MSDevice_SSM::ENCOUNTER_TYPE_MERGING_PASSED, MSDevice_SSM::ENCOUNTER_TYPE_NOCONFLICT_AHEAD, MSDevice_SSM::ENCOUNTER_TYPE_ON_ADJACENT_LANES, and MSDevice_SSM::ENCOUNTER_TYPE_ONCOMING.