nl.tudelft.simulation.traffic.controlpoint.blocks
Class SwitchVirtualBlock
java.lang.Object
nl.tudelft.simulation.traffic.controlpoint.blocks.VirtualBlock
nl.tudelft.simulation.traffic.controlpoint.blocks.SwitchVirtualBlock
- public class SwitchVirtualBlock
- extends VirtualBlock
Th SwitchVirtualBlock defines the block to be guarded.
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
- Version:
- Jun 20, 2004
- Author:
- Alexander
Verbraeck
|
Constructor Summary |
SwitchVirtualBlock(java.lang.String name)
constucts a new SwitchVirtualBlock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchVirtualBlock
public SwitchVirtualBlock(java.lang.String name)
- constucts a new SwitchVirtualBlock
- Parameters:
name - the name of the SwitchVirtualBlock
addSwitchDirection
public void addSwitchDirection(SwitchBlockTrafficLight trafficLight,
int line,
java.lang.String complexLink,
java.lang.String track)
- adds a direction to the block
- Parameters:
trafficLight - line - complexLink - track -
Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.