public class LaneCombinationList extends Object
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
LaneCombinationList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLaneCombination(Lane lane1,
Lane lane2)
Add lane combination to the list.
|
void |
addLinkCombination(CrossSectionLink link1,
CrossSectionLink link2)
Add any combination of lanes on both links to the list.
|
boolean |
contains(Lane lane1,
Lane lane2)
Returns whether the combination of the two lanes is included.
|
String |
toString() |
public final void addLinkCombination(CrossSectionLink link1, CrossSectionLink link2)
link1 - link 1link2 - link 2public final void addLaneCombination(Lane lane1, Lane lane2)
lane1 - lane 1lane2 - lane 2public final boolean contains(Lane lane1, Lane lane2)
lane1 - lane 1lane2 - lane 2Copyright © 2014–2018 Delft University of Technology. All rights reserved.