Class 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 Detail

      • OtherDemandCell

        public OtherDemandCell​(WaterwayLocation origin,
                               WaterwayLocation destination,
                               int annualMoves,
                               ShipType shipType)
        Parameters:
        origin - WaterwayLocation; the origin location
        destination - WaterwayLocation; the destination location
        annualMoves - int; the annual number of moves
        shipType - ShipType; the type of ship to use
    • Method Detail

      • getDestination

        public final WaterwayLocation getDestination()
        Returns:
        the destination
      • getAnnualMoves

        public final int getAnnualMoves()
        Returns:
        the annualMoves
      • getShipType

        public final ShipType getShipType()
        Returns:
        the shipType