#include "stdafx.h"
Go to the source code of this file.
Variables | |
const WORD | DIST_EXPONENTIAL = 200U |
const WORD | DIST_LOGNORMAL = 201U |
const WORD | DIST_GAMMA = 202U |
const WORD | DIST_GUMBEL = 203U |
const WORD | DIST_POISSON = 204U |
const WORD | DIST_GEV = 205U |
const WORD | DIST_NORMAL = 206U |
const WORD | DIST_CONST = 207U |
const WORD | IDM_PARAM_T = 300U |
const WORD | IDM_PARAM_A = 301U |
const WORD | IDM_PARAM_B = 302U |
const WORD | IDM_PARAM_S0 = 303U |
const WORD | IDM_PARAM_S1 = 304U |
const WORD | IDM_PARAM_V0 = 305U |
const WORD | IDM_PARAM_DELTA = 306U |
const WORD | IDM_PARAM_POLITE = 307U |
const WORD | IDM_PARAM_BIAS = 308U |
const WORD | IDM_PARAM_DELTAATH = 309U |
const WORD | VEH_ID_CAR = 0 |
const WORD | VEH_ID_SMALLTRUCK = 1 |
const WORD | VEH_ID_LARGETRUCK = 2 |
const WORD | VEH_ID_CRANE = 3 |
const WORD | VEH_ID_LOWLOADER = 4 |
const WORD | FEAT_SPEEDLIMIT = 400U |
const WORD | FEAT_GRADIENT = 401U |
const int | CASTOR_MAX_AXLES = 9 |
const UINT | VERSION_NUMBER = 1 |
const double | M_PER_S_TO_KM_PER_H = 3.6 |
const double | KM_PER_H_TO_M_PER_S = 0.27777778 |
const double | KG100_TO_KN = 0.981 |
const int | SECS_PER_HOUR = 3600 |
const int | HOURS_PER_DAY = 24 |
const int | MINS_PER_HOUR = 60 |
const int | SECS_PER_MIN = 60 |
const int | FIXED_ROWS = 1 |
const int | FIXED_COLUMNS = 1 |
const WORD | METRICS_VEH_ALL = 500U |
const WORD | METRICS_VEH_CAR = 501U |
const WORD | METRICS_VEH_SMALLTRUCK = 502U |
const WORD | METRICS_VEH_LARGETRUCK = 503U |
const WORD | METRICS_VEH_CRANE = 504U |
const WORD | METRICS_VEH_LOWLOADER = 505U |
const WORD | METRICS_TYPE_FLOWDENSITY = 510U |
const WORD | METRICS_TYPE_HEADWAY = 511U |
const WORD | METRICS_TYPE_COMPOSITION = 512U |
const WORD | METRICS_TYPE_LANE_CHANGE = 513U |
const WORD | SAFT = 100U |
const WORD | CASTOR = 101U |
const WORD | INPUT_FILE_BUFFER_SIZE = 10U |
const WORD | DRAW_FRAMES_PER_SEC = 20U |
const WORD CASTOR = 101U |
Definition at line 82 of file Constants.h.
Referenced by CSimConfigDlg::CSimConfigDlg(), Road::initTruckGroup(), CSimConfigDlg::OnInitDialog(), CEvolveTrafficDoc::OnNewDocument(), and CSimConfigDlg::OnRadCastor().
const int CASTOR_MAX_AXLES = 9 |
const WORD DIST_CONST = 207U |
Definition at line 20 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), CTrafficConfigDlg::MapDistributionString(), and CParameter::SetDefaultParams().
const WORD DIST_EXPONENTIAL = 200U |
Definition at line 13 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_GAMMA = 202U |
Definition at line 15 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_GEV = 205U |
Definition at line 18 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_GUMBEL = 203U |
Definition at line 16 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_LOGNORMAL = 201U |
Definition at line 14 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_NORMAL = 206U |
Definition at line 19 of file Constants.h.
Referenced by CDistribution::CDistribution(), CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DIST_POISSON = 204U |
Definition at line 17 of file Constants.h.
Referenced by CDistribution::Generate(), CTrafficConfigDlg::MapDistributionID(), and CTrafficConfigDlg::MapDistributionString().
const WORD DRAW_FRAMES_PER_SEC = 20U |
const WORD FEAT_GRADIENT = 401U |
Definition at line 43 of file Constants.h.
Referenced by CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawRoadSegments(), CEvolveTrafficView::DrawSingleSegment(), CRoadFeaturesDlg::MapStringToType(), CRoadFeaturesDlg::MapTypeToString(), CRoadFeaturesDlg::OnValidate(), and Road::SetSegmentFromFeature().
const WORD FEAT_SPEEDLIMIT = 400U |
Definition at line 42 of file Constants.h.
Referenced by CRoadFeature::CRoadFeature(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawRoadSegments(), CEvolveTrafficView::DrawSingleSegment(), CRoadFeaturesDlg::LoadFeaturesIntoGrid(), CRoadFeaturesDlg::MapStringToType(), CRoadFeaturesDlg::MapTypeToString(), CRoadFeaturesDlg::OnValidate(), CRoadFeaturesDlg::SetParamData(), and Road::SetSegmentFromFeature().
const int FIXED_COLUMNS = 1 |
Definition at line 65 of file Constants.h.
Referenced by CPreferencesDlg::CPreferencesDlg(), CRoadFeaturesDlg::CRoadFeaturesDlg(), CStatDetectorDlg::CStatDetectorDlg(), and CTrafficConfigDlg::CTrafficConfigDlg().
const int FIXED_ROWS = 1 |
Definition at line 64 of file Constants.h.
Referenced by CPreferencesDlg::CPreferencesDlg(), CRoadFeaturesDlg::CRoadFeaturesDlg(), CStatDetectorDlg::CStatDetectorDlg(), and CTrafficConfigDlg::CTrafficConfigDlg().
const int HOURS_PER_DAY = 24 |
Definition at line 59 of file Constants.h.
Referenced by CEvolveTrafficView::DrawTimer(), Vehicle::getTime(), and Vehicle::setTime().
const WORD IDM_PARAM_A = 301U |
Definition at line 24 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_B = 302U |
Definition at line 25 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_BIAS = 308U |
Definition at line 31 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_DELTA = 306U |
Definition at line 29 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_DELTAATH = 309U |
Definition at line 32 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_POLITE = 307U |
Definition at line 30 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_S0 = 303U |
Definition at line 26 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_S1 = 304U |
Definition at line 27 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_T = 300U |
Definition at line 23 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD IDM_PARAM_V0 = 305U |
Definition at line 28 of file Constants.h.
Referenced by CIDMParameterSet::buildParamSet(), and CParameter::SetDefaultParams().
const WORD INPUT_FILE_BUFFER_SIZE = 10U |
const double KG100_TO_KN = 0.981 |
Definition at line 56 of file Constants.h.
Referenced by Vehicle::createCASTORVehicle(), SAFTFile::readLine(), CASTORFile::readLine(), Vehicle::writeCASTORData(), and Vehicle::writeSAFTData().
const double KM_PER_H_TO_M_PER_S = 0.27777778 |
Definition at line 53 of file Constants.h.
Referenced by SpeedLimit::addVehicle(), IDM::set_V0(), IDM::SetGradient(), and CRoadFeaturesDlg::SetParamData().
const double M_PER_S_TO_KM_PER_H = 3.6 |
Definition at line 52 of file Constants.h.
Referenced by MetricsDetector::doFlowDensityOutput(), CEvolveTrafficView::DrawRoadSegments(), CEvolveTrafficView::DrawVehicle(), Vehicle::getDataString(), CRoadFeaturesDlg::LoadFeaturesIntoGrid(), and CRoadFeaturesDlg::OnValidate().
const WORD METRICS_TYPE_COMPOSITION = 512U |
Definition at line 77 of file Constants.h.
Referenced by MetricsDetector::AddCurrentVehicle(), MetricsDetector::doIntervalOutput(), CEvolveTrafficView::DrawDetectors(), MetricsDetector::InitOutputFiles(), CStatDetectorDlg::MapDetTypeToString(), and CStatDetectorDlg::MapStringToDetType().
const WORD METRICS_TYPE_FLOWDENSITY = 510U |
Definition at line 75 of file Constants.h.
Referenced by MetricsDetector::AddCurrentVehicle(), CStatDetector::CStatDetector(), MetricsDetector::doIntervalOutput(), CEvolveTrafficView::DrawDetectors(), MetricsDetector::InitOutputFiles(), CStatDetectorDlg::MapDetTypeToString(), and CStatDetectorDlg::MapStringToDetType().
const WORD METRICS_TYPE_HEADWAY = 511U |
Definition at line 76 of file Constants.h.
Referenced by MetricsDetector::AddCurrentVehicle(), MetricsDetector::doIntervalOutput(), CEvolveTrafficView::DrawDetectors(), MetricsDetector::InitOutputFiles(), CStatDetectorDlg::MapDetTypeToString(), and CStatDetectorDlg::MapStringToDetType().
const WORD METRICS_TYPE_LANE_CHANGE = 513U |
Definition at line 78 of file Constants.h.
Referenced by CEvolveTrafficView::DrawDetectors(), Lane::Lane(), LaneChangeDetector::LaneChangeDetector(), CStatDetectorDlg::MapDetTypeToString(), CStatDetectorDlg::MapStringToDetType(), CStatDetectorDlg::OnValidate(), and Road::SetMetricDetFromStatDet().
const WORD METRICS_VEH_ALL = 500U |
Definition at line 68 of file Constants.h.
Referenced by MetricsDetector::AddCurrentVehicle(), LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), CStatDetector::CStatDetector(), MetricsDetector::doIntervalOutput(), LaneChangeDetector::EndOutput(), MetricsDetector::InitOutputFiles(), LaneChangeDetector::InitOutputFiles(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const WORD METRICS_VEH_CAR = 501U |
Definition at line 69 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const WORD METRICS_VEH_CRANE = 504U |
Definition at line 72 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const WORD METRICS_VEH_LARGETRUCK = 503U |
Definition at line 71 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const WORD METRICS_VEH_LOWLOADER = 505U |
Definition at line 73 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const WORD METRICS_VEH_SMALLTRUCK = 502U |
Definition at line 70 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Detector::MapDetVehTypeToString(), CStatDetectorDlg::MapStringToVehType(), and CStatDetectorDlg::MapVehTypeToString().
const int MINS_PER_HOUR = 60 |
Definition at line 60 of file Constants.h.
Referenced by CEvolveTrafficView::DrawTimer(), and Vehicle::setTime().
const WORD SAFT = 100U |
Definition at line 81 of file Constants.h.
Referenced by Road::initTruckGroup(), CSimConfigDlg::OnInitDialog(), and CSimConfigDlg::OnRadSaft().
const int SECS_PER_HOUR = 3600 |
Definition at line 58 of file Constants.h.
Referenced by MetricsDetector::doFlowDensityOutput(), LaneChangeDetector::doRateOutput(), CEvolveTrafficView::DrawTimer(), Vehicle::getTime(), and Vehicle::setTime().
const int SECS_PER_MIN = 60 |
Definition at line 61 of file Constants.h.
Referenced by CEvolveTrafficView::DrawTimer(), and Vehicle::getTime().
const WORD VEH_ID_CAR = 0 |
Definition at line 35 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), Car::Car(), CEvolveTrafficDoc::CEvolveTrafficDoc(), MetricsDetector::doCompositionOutput(), LaneChangeDetector::doCompositionOutput(), LaneChangeDetector::doVerboseOutput(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawVehicleAt(), RoadSegment::getIDMParams(), and Road::setIDMDriverModel().
const WORD VEH_ID_CRANE = 3 |
Definition at line 38 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), CEvolveTrafficDoc::CEvolveTrafficDoc(), MetricsDetector::doCompositionOutput(), LaneChangeDetector::doCompositionOutput(), LaneChangeDetector::doVerboseOutput(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawVehicleAt(), RoadSegment::getIDMParams(), Vehicle::setID(), and Road::setIDMDriverModel().
const WORD VEH_ID_LARGETRUCK = 2 |
Definition at line 37 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), CEvolveTrafficDoc::CEvolveTrafficDoc(), MetricsDetector::doCompositionOutput(), LaneChangeDetector::doCompositionOutput(), LaneChangeDetector::doVerboseOutput(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawVehicleAt(), RoadSegment::getIDMParams(), Vehicle::setID(), and Road::setIDMDriverModel().
const WORD VEH_ID_LOWLOADER = 4 |
Definition at line 39 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), CEvolveTrafficDoc::CEvolveTrafficDoc(), MetricsDetector::doCompositionOutput(), LaneChangeDetector::doCompositionOutput(), LaneChangeDetector::doVerboseOutput(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawVehicleAt(), RoadSegment::getIDMParams(), Vehicle::setID(), and Road::setIDMDriverModel().
const WORD VEH_ID_SMALLTRUCK = 1 |
Definition at line 36 of file Constants.h.
Referenced by LaneChangeDetector::addEvent(), MetricsDetector::addVehicle(), CEvolveTrafficDoc::CEvolveTrafficDoc(), MetricsDetector::doCompositionOutput(), LaneChangeDetector::doCompositionOutput(), LaneChangeDetector::doVerboseOutput(), CEvolveTrafficView::DrawLegend(), CEvolveTrafficView::DrawVehicleAt(), RoadSegment::getIDMParams(), Vehicle::setID(), and Road::setIDMDriverModel().
const UINT VERSION_NUMBER = 1 |
Definition at line 49 of file Constants.h.