Eclipse SUMO - Simulation of Urban MObility
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. More...
 
 time_sorter ()
 Constructor. More...
 

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: