SUMO - Simulation of Urban MObility
ODCell Struct Reference

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

#include <ODCell.h>

Collaboration diagram for ODCell:
Collaboration graph

Data Fields

SUMOTime begin
 The begin time this cell describes. More...
 
std::map< SUMOTime, std::vector< std::string > > departures
 mapping of departure times to departing vehicles, if already fixed More...
 
std::string destination
 Name of the destination district. More...
 
SUMOTime end
 The end time this cell describes. More...
 
std::string origin
 Name of the origin district. More...
 
std::vector< RORoute * > pathsVector
 the list of paths / routes More...
 
double vehicleNumber
 The number of vehicles. More...
 
std::string vehicleType
 Name of the vehicle type. More...
 

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.

Definition at line 57 of file ODCell.h.

Field Documentation

◆ begin

◆ departures

std::map<SUMOTime, std::vector<std::string> > ODCell::departures

mapping of departure times to departing vehicles, if already fixed

Definition at line 80 of file ODCell.h.

Referenced by ODMatrix::add(), and computeRoutes().

◆ destination

◆ end

◆ origin

◆ pathsVector

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

the list of paths / routes

Definition at line 77 of file ODCell.h.

Referenced by computeRoutes(), ROMAAssignments::getKPaths(), ROMAAssignments::incremental(), and ROMAAssignments::sue().

◆ vehicleNumber

double ODCell::vehicleNumber

◆ vehicleType

std::string ODCell::vehicleType

Name of the vehicle type.

Definition at line 74 of file ODCell.h.

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


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