Class Vehicle

    • Field Detail

      • capacity

        protected int capacity
      • depot

        protected Depot depot
    • Constructor Detail

      • Vehicle

        public Vehicle()
      • Vehicle

        public Vehicle​(long id,
                       int capacity,
                       Depot depot)
    • Method Detail

      • getCapacity

        public int getCapacity()
      • setCapacity

        public void setCapacity​(int capacity)
      • getDepot

        public Depot getDepot()
      • setDepot

        public void setDepot​(Depot depot)
      • setCustomers

        public void setCustomers​(List<Customer> customers)
      • getLocation

        public Location getLocation()