SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SUMOVehicleParameter.h File Reference
#include <config.h>
#include <string>
#include "SUMOVehicleClass.h"
#include "RGBColor.h"
#include "SUMOTime.h"
#include <utils/common/Parameterised.h>

Go to the source code of this file.

Data Structures

class  SUMOVehicleParameter
 Structure representing possible vehicle parameter. More...
 
struct  SUMOVehicleParameter::Stop
 Definition of vehicle stop (position and duration) More...
 

Enumerations

enum  ArrivalLaneDefinition { ARRIVAL_LANE_DEFAULT, ARRIVAL_LANE_GIVEN, ARRIVAL_LANE_CURRENT, ARRIVAL_LANE_DEF_MAX }
 Possible ways to choose the arrival lane. More...
 
enum  ArrivalPosDefinition {
  ARRIVAL_POS_DEFAULT, ARRIVAL_POS_GIVEN, ARRIVAL_POS_RANDOM, ARRIVAL_POS_MAX,
  ARRIVAL_POS_DEF_MAX
}
 Possible ways to choose the arrival position. More...
 
enum  ArrivalSpeedDefinition { ARRIVAL_SPEED_DEFAULT, ARRIVAL_SPEED_GIVEN, ARRIVAL_SPEED_CURRENT, ARRIVAL_SPEED_DEF_MAX }
 Possible ways to choose the arrival speed. More...
 
enum  DepartDefinition { DEPART_GIVEN, DEPART_TRIGGERED, DEPART_NOW, DEPART_DEF_MAX }
 Possible ways to depart. More...
 
enum  DepartLaneDefinition {
  DEPART_LANE_DEFAULT, DEPART_LANE_GIVEN, DEPART_LANE_RANDOM, DEPART_LANE_FREE,
  DEPART_LANE_ALLOWED_FREE, DEPART_LANE_BEST_FREE, DEPART_LANE_DEF_MAX
}
 Possible ways to choose a lane on depart. More...
 
enum  DepartPosDefinition {
  DEPART_POS_DEFAULT, DEPART_POS_GIVEN, DEPART_POS_RANDOM, DEPART_POS_FREE,
  DEPART_POS_BASE, DEPART_POS_PWAG_SIMPLE, DEPART_POS_PWAG_GENERIC, DEPART_POS_MAX_SPEED_GAP,
  DEPART_POS_RANDOM_FREE, DEPART_POS_DEF_MAX
}
 Possible ways to choose the departure position. More...
 
enum  DepartSpeedDefinition {
  DEPART_SPEED_DEFAULT, DEPART_SPEED_GIVEN, DEPART_SPEED_RANDOM, DEPART_SPEED_MAX,
  DEPART_SPEED_DEF_MAX
}
 Possible ways to choose the departure speed. More...
 

Variables

const int STOP_END_SET = 1
 
const int STOP_EXPECTED_SET = 2 << 3
 
const int STOP_INDEX_END = -1
 
const int STOP_INDEX_FIT = -2
 
const int STOP_PARKING_SET = 2 << 2
 
const int STOP_START_SET = 2
 
const int STOP_TRIGGER_SET = 2 << 1
 
const int VEHPARS_ARRIVALLANE_SET = 2 << 7
 
const int VEHPARS_ARRIVALPOS_SET = 2 << 8
 
const int VEHPARS_ARRIVALSPEED_SET = 2 << 9
 
const int VEHPARS_COLOR_SET = 1
 
const int VEHPARS_DEPARTLANE_SET = 2 << 1
 
const int VEHPARS_DEPARTPOS_SET = 2 << 2
 
const int VEHPARS_DEPARTSPEED_SET = 2 << 3
 
const int VEHPARS_FORCE_REROUTE = 2 << 12
 
const int VEHPARS_LINE_SET = 2 << 10
 
const int VEHPARS_PERIODFREQ_SET = 2 << 5
 
const int VEHPARS_PERIODNUM_SET = 2 << 4
 
const int VEHPARS_PERSON_CAPACITY_SET = 2 << 13
 
const int VEHPARS_PERSON_NUMBER_SET = 2 << 14
 
const int VEHPARS_ROUTE_SET = 2 << 6
 
const int VEHPARS_TAZ_SET = 2 << 11
 
const int VEHPARS_VTYPE_SET = 2
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Axel Wegener
Michael Behrisch
Date
2006-01-24
Version
Id:
SUMOVehicleParameter.h 14425 2013-08-16 20:11:47Z behrisch

Definition in file SUMOVehicleParameter.h.

Enumeration Type Documentation

Possible ways to choose the arrival lane.

Enumerator
ARRIVAL_LANE_DEFAULT 

No information given; use default.

ARRIVAL_LANE_GIVEN 

The arrival lane is given.

ARRIVAL_LANE_CURRENT 

The current lane shall be used.

ARRIVAL_LANE_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 171 of file SUMOVehicleParameter.h.

Possible ways to choose the arrival position.

Enumerator
ARRIVAL_POS_DEFAULT 

No information given; use default.

ARRIVAL_POS_GIVEN 

The arrival position is given.

ARRIVAL_POS_RANDOM 

The arrival position is chosen randomly.

ARRIVAL_POS_MAX 

The maximum arrival position is used.

ARRIVAL_POS_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 187 of file SUMOVehicleParameter.h.

Possible ways to choose the arrival speed.

Enumerator
ARRIVAL_SPEED_DEFAULT 

No information given; use default.

ARRIVAL_SPEED_GIVEN 

The speed is given.

ARRIVAL_SPEED_CURRENT 

The current speed is used.

ARRIVAL_SPEED_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 205 of file SUMOVehicleParameter.h.

Possible ways to depart.

Enumerator
DEPART_GIVEN 

The time is given.

DEPART_TRIGGERED 

The departure is person triggered.

DEPART_NOW 

The vehicle is discarded if emission fails (not fully implemented yet)

DEPART_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 87 of file SUMOVehicleParameter.h.

Possible ways to choose a lane on depart.

Enumerator
DEPART_LANE_DEFAULT 

No information given; use default.

DEPART_LANE_GIVEN 

The lane is given.

DEPART_LANE_RANDOM 

The lane is chosen randomly.

DEPART_LANE_FREE 

The least occupied lane is used.

DEPART_LANE_ALLOWED_FREE 

The least occupied lane from lanes which allow the continuation.

DEPART_LANE_BEST_FREE 

The least occupied lane from best lanes.

DEPART_LANE_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 103 of file SUMOVehicleParameter.h.

Possible ways to choose the departure position.

Enumerator
DEPART_POS_DEFAULT 

No information given; use default.

DEPART_POS_GIVEN 

The position is given.

DEPART_POS_RANDOM 

The position is chosen randomly.

DEPART_POS_FREE 

A free position is chosen.

DEPART_POS_BASE 

Back-at-zero position.

DEPART_POS_PWAG_SIMPLE 

Simple max-flow insertion by P.Wagner.

DEPART_POS_PWAG_GENERIC 

Generic max-flow insertion by P.Wagner.

DEPART_POS_MAX_SPEED_GAP 

A gap is chosen where the maximum speed may be achieved.

DEPART_POS_RANDOM_FREE 

If a fixed number of random choices fails, a free position is chosen.

DEPART_POS_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 125 of file SUMOVehicleParameter.h.

Possible ways to choose the departure speed.

Enumerator
DEPART_SPEED_DEFAULT 

No information given; use default.

DEPART_SPEED_GIVEN 

The speed is given.

DEPART_SPEED_RANDOM 

The speed is chosen randomly.

DEPART_SPEED_MAX 

The maximum speed is used.

DEPART_SPEED_DEF_MAX 

Tag for the last element in the enum for safe int casting.

Definition at line 153 of file SUMOVehicleParameter.h.

Variable Documentation

const int STOP_END_SET = 1
const int STOP_EXPECTED_SET = 2 << 3
const int STOP_INDEX_END = -1
const int STOP_INDEX_FIT = -2
const int STOP_PARKING_SET = 2 << 2
const int STOP_START_SET = 2
const int STOP_TRIGGER_SET = 2 << 1
const int VEHPARS_ARRIVALLANE_SET = 2 << 7
const int VEHPARS_ARRIVALPOS_SET = 2 << 8
const int VEHPARS_ARRIVALSPEED_SET = 2 << 9
const int VEHPARS_DEPARTLANE_SET = 2 << 1
const int VEHPARS_DEPARTPOS_SET = 2 << 2
const int VEHPARS_DEPARTSPEED_SET = 2 << 3
const int VEHPARS_LINE_SET = 2 << 10
const int VEHPARS_PERIODFREQ_SET = 2 << 5
const int VEHPARS_PERIODNUM_SET = 2 << 4
const int VEHPARS_PERSON_CAPACITY_SET = 2 << 13
const int VEHPARS_PERSON_NUMBER_SET = 2 << 14
const int VEHPARS_ROUTE_SET = 2 << 6
const int VEHPARS_VTYPE_SET = 2