Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSDispatch::time_sorter Class Reference

sorts reservations by time More...

#include <MSDispatch.h>

Public Member Functions

int operator() (const Reservation *r1, const Reservation *r2) const
 Comparing operator.
 
 time_sorter ()
 Constructor.
 

Detailed Description

sorts reservations by time

Definition at line 116 of file MSDispatch.h.

Constructor & Destructor Documentation

◆ time_sorter()

MSDispatch::time_sorter::time_sorter ( )
inlineexplicit

Constructor.

Definition at line 119 of file MSDispatch.h.

Member Function Documentation

◆ operator()()

int MSDispatch::time_sorter::operator() ( const Reservation r1,
const Reservation r2 
) const
inline

Comparing operator.

Definition at line 122 of file MSDispatch.h.

References Reservation::earliestPickupTime, MAX2(), and Reservation::reservationTime.


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