Class Customer

    • Field Detail

      • demand

        protected int demand
      • vehicle

        protected Vehicle vehicle
      • previousCustomer

        protected Customer previousCustomer
      • nextCustomer

        protected Customer nextCustomer
    • Constructor Detail

      • Customer

        public Customer()
      • Customer

        public Customer​(long id,
                        Location location,
                        int demand)
    • Method Detail

      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • getDemand

        public int getDemand()
      • setDemand

        public void setDemand​(int demand)
      • getVehicle

        public Vehicle getVehicle()
      • setVehicle

        public void setVehicle​(Vehicle vehicle)
      • getPreviousCustomer

        public Customer getPreviousCustomer()
      • setPreviousCustomer

        public void setPreviousCustomer​(Customer previousCustomer)
      • getNextCustomer

        public Customer getNextCustomer()
      • setNextCustomer

        public void setNextCustomer​(Customer nextCustomer)
      • getDistanceFromPreviousStandstill

        public long getDistanceFromPreviousStandstill()
      • getDistanceToDepot

        public long getDistanceToDepot()