Eclipse SUMO - Simulation of Urban MObility
ODCell Struct Reference

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

#include <ODCell.h>

Public Types

typedef std::map< SUMOTime, std::vector< SUMOVehicleParameter > > Departures
 mapping of departure times to departing vehicles, if already fixed More...
 

Data Fields

SUMOTime begin
 The begin time this cell describes. More...
 
Departures departures
 
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 49 of file ODCell.h.

Member Typedef Documentation

◆ Departures

typedef std::map<SUMOTime, std::vector<SUMOVehicleParameter> > ODCell::Departures

mapping of departure times to departing vehicles, if already fixed

Definition at line 72 of file ODCell.h.

Field Documentation

◆ begin

◆ departures

Departures ODCell::departures

Definition at line 73 of file ODCell.h.

Referenced by ODMatrix::add().

◆ destination

◆ destinationIsEdge

bool ODCell::destinationIsEdge = false

the destination "district" is an edge id

Definition at line 79 of file ODCell.h.

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

◆ end

SUMOTime ODCell::end

The end time this cell describes.

Definition at line 57 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 76 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 69 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 66 of file ODCell.h.

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


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