SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ODCell Struct Reference

A single O/D-matrix cell. More...

#include <ODCell.h>

Data Fields

SUMOTime begin
 The begin time this cell describes.
std::string destination
 Name of the destination district.
SUMOTime end
 The end time this cell describes.
std::string origin
 Name of the origin district.
std::vector< RORoute * > pathsVector
 the list of paths / routes
SUMOReal vehicleNumber
 The number of vehicles.
std::string vehicleType
 Name of the vehicle type.

Detailed Description

A single O/D-matrix cell.

A single cell within an O/D-matrix. Contains the information about the origin and destination via string-ids of the district, the begin and the end time for which this cell is valid, the id of the vehicle type to use, and the amount of vehicles to insert during the described interval.

Todo:
Check whether the vehicle type is used and makes sense herein

Definition at line 55 of file ODCell.h.

Field Documentation

SUMOTime ODCell::begin

The begin time this cell describes.

Definition at line 60 of file ODCell.h.

Referenced by ODMatrix::add(), ODMatrix::applyCurve(), ODMatrix::computeDeparts(), ODMatrix::cell_by_begin_sorter::operator()(), and ODMatrix::writeFlows().

std::string ODCell::destination
SUMOTime ODCell::end

The end time this cell describes.

Definition at line 63 of file ODCell.h.

Referenced by ODMatrix::add(), ODMatrix::applyCurve(), ODMatrix::computeDeparts(), and ODMatrix::writeFlows().

std::string ODCell::origin
std::vector<RORoute*> ODCell::pathsVector

the list of paths / routes

Definition at line 75 of file ODCell.h.

SUMOReal ODCell::vehicleNumber

The number of vehicles.

Definition at line 57 of file ODCell.h.

Referenced by ODMatrix::add(), ODMatrix::applyCurve(), ODMatrix::computeDeparts(), and ODMatrix::writeFlows().

std::string ODCell::vehicleType

Name of the vehicle type.

Definition at line 72 of file ODCell.h.

Referenced by ODMatrix::add(), ODMatrix::applyCurve(), and ODMatrix::writeDefaultAttrs().


The documentation for this struct was generated from the following file: