Class Lock

All Implemented Interfaces:
java.io.Serializable, Locatable, Dynamic, Located, Named, OperatedObstacle, Operated

public class Lock
extends Obstacle
implements OperatedObstacle

Copyright (c) 2013 Rijkswaterstaat - Dienst Water, Verkeer en Leefomgeving. All rights reserved.
Some parts of the software (c) 2011-2013 TU Delft, Faculty of TBM, Systems and Simulation
This software is licensed without restrictions to Nederlandse Organisatie voor Toegepast Natuurwetenschappelijk Onderzoek TNO (TNO), Erasmus University Rotterdam, Delft University of Technology, Panteia B.V., Stichting Projecten Binnenvaart, Ab Ovo Nederland B.V., Modality Software Solutions B.V., and Rijkswaterstaat - Dienst Water, Verkeer en Leefomgeving, including the right to sub-license sources and derived products to third parties.
Version:
Sep 28, 2012
Author:
Alexander Verbraeck
See Also:
Serialized Form
  • Constructor Details

    • Lock

      public Lock​(DEVSSimulatorInterface.TimeDoubleUnit simulator, java.lang.String name, WaterwayLocation waterwayLocation, int numberChambers, int operationHoursPerDay, int operationDaysPerWeek, Length length, Length width, boolean cargoPriority)
      Parameters:
      simulator - DEVSSimulatorInterface.TimeDoubleUnit; the simulator to schedule on
      name - String; the name of the lock
      waterwayLocation - WaterwayLocation; the location along the waterway
      numberChambers - int; the number of lock chambers
      operationHoursPerDay - int; hours per day
      operationDaysPerWeek - int; days per week
      length - Length; the length
      width - Length; the width
      cargoPriority - boolean; does cargo have priority?
  • Method Details