SUMOVehicleParameter.h File Reference


Detailed Description

Author:
Daniel Krajzewicz
Date:
2006-01-24
Version:
Id
SUMOVehicleParameter.h 8517 2010-03-25 23:02:15Z behrisch

Definition in file SUMOVehicleParameter.h.

#include <config.h>
#include <string>
#include "SUMOVehicleClass.h"
#include "RGBColor.h"
#include "SUMOTime.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 }
 Possible ways to choose the arrival lane. More...
enum  ArrivalPosDefinition { ARRIVAL_POS_DEFAULT, ARRIVAL_POS_GIVEN, ARRIVAL_POS_RANDOM, ARRIVAL_POS_MAX }
 Possible ways to choose the arrival position. More...
enum  ArrivalSpeedDefinition { ARRIVAL_SPEED_DEFAULT, ARRIVAL_SPEED_GIVEN, ARRIVAL_SPEED_CURRENT }
 Possible ways to choose the arrival speed. More...
enum  DepartDefinition { DEPART_GIVEN, DEPART_TRIGGERED }
 Possible ways to depart. More...
enum  DepartLaneDefinition {
  DEPART_LANE_DEFAULT, DEPART_LANE_GIVEN, DEPART_LANE_RANDOM, DEPART_LANE_FREE,
  DEPART_LANE_DEPARTLANE
}
 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_RANDOM_FREE
}
 Possible ways to choose the departure position. More...
enum  DepartSpeedDefinition { DEPART_SPEED_DEFAULT, DEPART_SPEED_GIVEN, DEPART_SPEED_RANDOM, DEPART_SPEED_MAX }
 Possible ways to choose the departure speed. More...

Variables

const int VEHPARS_ARRIVALLANE_SET = 256
const int VEHPARS_ARRIVALPOS_SET = 512
const int VEHPARS_ARRIVALSPEED_SET = 1024
const int VEHPARS_COLOR_SET = 1
const int VEHPARS_DEPARTLANE_SET = 4
const int VEHPARS_DEPARTPOS_SET = 8
const int VEHPARS_DEPARTSPEED_SET = 16
const int VEHPARS_LINE_SET = 2048
const int VEHPARS_PERIODFREQ_SET = 64
const int VEHPARS_PERIODNUM_SET = 32
const int VEHPARS_ROUTE_SET = 128
const int VEHPARS_TAZ_SET = 4096
const int VEHPARS_VTYPE_SET = 2


Enumeration Type Documentation

Possible ways to choose the arrival lane.

Todo:
Recheck usage!!!
Enumerator:
ARRIVAL_LANE_DEFAULT  No information given; use default.
ARRIVAL_LANE_GIVEN  The speed is given.
ARRIVAL_LANE_CURRENT  The current lane shall be used.

Definition at line 137 of file SUMOVehicleParameter.h.

00137                            {
00139     ARRIVAL_LANE_DEFAULT,
00141     ARRIVAL_LANE_GIVEN,
00143     ARRIVAL_LANE_CURRENT
00144 };

Possible ways to choose the arrival position.

Todo:
Recheck usage!!!
Enumerator:
ARRIVAL_POS_DEFAULT  No information given; use default.
ARRIVAL_POS_GIVEN  The speed is given.
ARRIVAL_POS_RANDOM  The speed is chosen randomly.
ARRIVAL_POS_MAX  The maximum speed is used.

Definition at line 152 of file SUMOVehicleParameter.h.

00152                           {
00154     ARRIVAL_POS_DEFAULT,
00156     ARRIVAL_POS_GIVEN,
00158     ARRIVAL_POS_RANDOM,
00160     ARRIVAL_POS_MAX
00161 };

Possible ways to choose the arrival speed.

Todo:
Recheck usage!!!
Enumerator:
ARRIVAL_SPEED_DEFAULT  No information given; use default.
ARRIVAL_SPEED_GIVEN  The speed is given.
ARRIVAL_SPEED_CURRENT  The current speed is used.

Definition at line 169 of file SUMOVehicleParameter.h.

Possible ways to depart.

Todo:
Recheck usage!!!
Enumerator:
DEPART_GIVEN  The time is given.
DEPART_TRIGGERED  The departure is person triggered.

Definition at line 70 of file SUMOVehicleParameter.h.

00070                       {
00072     DEPART_GIVEN,
00074     DEPART_TRIGGERED
00075 };

Possible ways to choose a lane on depart.

Todo:
Recheck usage!!!
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_DEPARTLANE  The edge's departure lane is used.

Definition at line 83 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_RANDOM_FREE  If a fixed number of random choices fails, a free position is chosen.

Definition at line 101 of file SUMOVehicleParameter.h.

Possible ways to choose the departure speed.

Todo:
Recheck usage!!!
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.

Definition at line 120 of file SUMOVehicleParameter.h.


Variable Documentation

const int VEHPARS_ARRIVALLANE_SET = 256

const int VEHPARS_ARRIVALPOS_SET = 512

const int VEHPARS_ARRIVALSPEED_SET = 1024

const int VEHPARS_COLOR_SET = 1

const int VEHPARS_DEPARTLANE_SET = 4

const int VEHPARS_DEPARTPOS_SET = 8

const int VEHPARS_DEPARTSPEED_SET = 16

const int VEHPARS_LINE_SET = 2048

const int VEHPARS_PERIODFREQ_SET = 64

const int VEHPARS_PERIODNUM_SET = 32

const int VEHPARS_ROUTE_SET = 128

const int VEHPARS_TAZ_SET = 4096

const int VEHPARS_VTYPE_SET = 2


Generated on Wed May 5 00:06:39 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6