Package org.opentrafficsim.water.demand
Class OtherDemand.OtherDemandCell
java.lang.Object
org.opentrafficsim.water.demand.OtherDemand.OtherDemandCell
- Enclosing class:
- OtherDemand
public class OtherDemand.OtherDemandCell
extends java.lang.Object
A cell of demand from a location along a waterway to another location.
Copyright (c) 2012 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Copyright (c) 2012 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
- Version:
- Sep 29, 2012
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description OtherDemandCell(WaterwayLocation origin, WaterwayLocation destination, int annualMoves, ShipType shipType)
-
Method Summary
Modifier and Type Method Description int
getAnnualMoves()
WaterwayLocation
getDestination()
WaterwayLocation
getOrigin()
ShipType
getShipType()
-
Constructor Details
-
OtherDemandCell
public OtherDemandCell(WaterwayLocation origin, WaterwayLocation destination, int annualMoves, ShipType shipType)- Parameters:
origin
- WaterwayLocation; the origin locationdestination
- WaterwayLocation; the destination locationannualMoves
- int; the annual number of movesshipType
- ShipType; the type of ship to use
-
-
Method Details
-
getOrigin
- Returns:
- the origin
-
getDestination
- Returns:
- the destination
-
getAnnualMoves
public final int getAnnualMoves()- Returns:
- the annualMoves
-
getShipType
- Returns:
- the shipType
-