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 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.- Version:
- Sep 29, 2012
- Author:
- Alexander Verbraeck
-
-
Constructor Summary
Constructors Constructor Description OtherDemandCell(WaterwayLocation origin, WaterwayLocation destination, int annualMoves, ShipType shipType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAnnualMoves()
WaterwayLocation
getDestination()
WaterwayLocation
getOrigin()
ShipType
getShipType()
-
-
-
Constructor Detail
-
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 Detail
-
getOrigin
public final WaterwayLocation getOrigin()
- Returns:
- the origin
-
getDestination
public final WaterwayLocation getDestination()
- Returns:
- the destination
-
getAnnualMoves
public final int getAnnualMoves()
- Returns:
- the annualMoves
-
getShipType
public final ShipType getShipType()
- Returns:
- the shipType
-
-