Eclipse SUMO - Simulation of Urban MObility
ODCell Struct Reference

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

#include <ODCell.h>

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...
 
bool destinationIsEdge = false
 the destination "district" is an edge id More...
 
SUMOTime end
 The end time this cell describes. More...
 
std::string origin
 Name of the origin district. More...
 
bool originIsEdge = false
 the origin "district" is an edge id 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 48 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 71 of file ODCell.h.

Referenced by ODMatrix::add().

◆ destination

◆ destinationIsEdge

bool ODCell::destinationIsEdge = false

the destination "district" is an edge id

Definition at line 77 of file ODCell.h.

Referenced by ODMatrix::add(), and ROMAAssignments::computePath().

◆ end

SUMOTime ODCell::end

The end time this cell describes.

Definition at line 56 of file ODCell.h.

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

◆ origin

◆ originIsEdge

bool ODCell::originIsEdge = false

the origin "district" is an edge id

Definition at line 74 of file ODCell.h.

Referenced by ODMatrix::add(), and ROMAAssignments::computePath().

◆ pathsVector

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

the list of paths / routes

Definition at line 68 of file ODCell.h.

Referenced by ROMAAssignments::computePath(), and ROMAAssignments::incremental().

◆ vehicleNumber

double ODCell::vehicleNumber

◆ vehicleType

std::string ODCell::vehicleType

Name of the vehicle type.

Definition at line 65 of file ODCell.h.

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


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