ns2::Edge Class Reference


Detailed Description

model for edges
Author:
Thimor Bohn <bohn@itm.uni-luebeck.de>

Definition at line 19 of file ns2/Edge.java.


Public Member Functions

 Edge (String id, String from, String to)

Data Fields

String from
String id
Map< String, Lanelanes
String to

Constructor & Destructor Documentation

ns2::Edge::Edge ( String  id,
String  from,
String  to 
) [inline]

constructor

Parameters:
id unique id of edge
from junction at which edge begins
to junction at which edge ends

Definition at line 31 of file ns2/Edge.java.

References lanes.

00032     {
00033         this.id     = id;
00034         this.from   = from;
00035         this.to     = to;
00036         this.lanes  = new HashMap<String, Lane>();
00037     }


Field Documentation

Definition at line 21 of file ns2/Edge.java.

String ns2::Edge::id

Definition at line 20 of file ns2/Edge.java.

Map<String, Lane> ns2::Edge::lanes

Definition at line 23 of file ns2/Edge.java.

Referenced by Edge(), ns2::NetReader::read(), and ns2::MobilityWriter::write().

String ns2::Edge::to

Definition at line 22 of file ns2/Edge.java.


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

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