NBNode::nodes_by_id_sorter Class Reference

#include <NBNode.h>


Detailed Description

Used for sorting the cells by the begin time they describe.

Definition at line 434 of file NBNode.h.


Public Member Functions

 nodes_by_id_sorter ()
 Constructor.
int operator() (NBNode *n1, NBNode *n2) const
 Comparing operator.

Constructor & Destructor Documentation

NBNode::nodes_by_id_sorter::nodes_by_id_sorter (  )  [inline, explicit]

Constructor.

Definition at line 437 of file NBNode.h.

00437 { }


Member Function Documentation

int NBNode::nodes_by_id_sorter::operator() ( NBNode n1,
NBNode n2 
) const [inline]

Comparing operator.

Definition at line 441 of file NBNode.h.

References NBNode::getID().

00441                                                      {
00442             return n1->getID()<n2->getID();
00443         }


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

Generated on Wed May 5 00:06:51 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6