Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 

Data Fields

SUMOTime begin
 The begin time this cell describes.
 
Departures departures
 
std::string destination
 Name of the destination district.
 
bool destinationIsEdge = false
 the destination "district" is an edge id
 
SUMOTime end
 The end time this cell describes.
 
std::string origin
 Name of the origin district.
 
bool originIsEdge = false
 the origin "district" is an edge id
 
std::vector< RORoute * > pathsVector
 the list of paths / routes
 
double 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.

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: