MATSIM
Packages | Classes
Package org.matsim.lanes

Packages

package  data
 

Classes

interface  Lane
 
class  LaneImpl
 
interface  Lanes
 
class  LanesConsistencyChecker
 
interface  LanesFactory
 
class  LanesFactoryImpl
 
class  LanesImpl
 
class  LanesReader
 
interface  LanesToLinkAssignment
 
class  LanesToLinkAssignmentImpl
 
class  LanesUtils
 
class  LanesWriter
 
class  ModelLane
 
class  VisLane
 
class  VisLaneModelBuilder
 
class  VisLinkWLanes
 
class  VisSignal
 

Detailed Description

This package contains classes to add lanes to links.

A link may contain one or more lanes, that may have the following layout (Dashes stand for the borders of the QueueLink, equal signs (===) depict one lane, plus signs (+) symbolize a decision point where one lane splits into several lanes):

  ----------------
  ================
  ----------------
*
  ----------------
           =======
  ========+
           =======
  ----------------
*
  ----------------
          ========
  =======+========
          ========
  ----------------
  

The following layouts are not allowed:

  ----------------
  ================
  ================
  ----------------
*
  ----------------
  =======
         +========
  =======
  ----------------
  

Adding lanes to a link means the following:

All lane information is given by the top-level container Lanes.

A lane is added to a link by adding a LaneToLinkAssignment instance to the container. For each link one LaneToLinkAssignment instance is needed, that holds all Lane instances for this specific link.

There is no extra test package for the lanes implementation. However tests for lanes can be found in the signals contrib test package.

Usage restrictions:

Package Maintainer(s):

Changes by non-maintainers are prohibited. Patches containing bugfixes or extensions however very welcome!