The Artima Developer Community
Sponsored Link

Java Answers Forum
Design UML !

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andrew

Posts: 1
Nickname: stormrider
Registered: Mar, 2003

Design UML ! Posted: Mar 6, 2003 9:20 PM
Reply to this message Reply
Advertisement
Cn anyone help me design the UML for this project ? Thanks a lot !

In your co-op job as an Operations Analyst for United Parcel Service (UPS), a large courier company, you have been asked to develop software that will assist the company in choosing routes for its trucks.

Each truck leaves from a central depot, travels to pick-up locations to collect parcels and then delivers the parcels to sorting stations. Trucks operate under the following restrictions:

Each truck can carry at most 300 parcels.
Each truck can travel at most 600 km on a tank of gas.
Each truck must return to the central depot by the end of the day. A day for the truck driver is 2400 km. (Truck drivers are notorious for speeding.)
Parcels can be received at any sorting station up to its handling capacity.

Trucks visit various locations in the world. These locations are of four distinct types:

A central depot that the truck leaves from in the morning and must return to in the evening. The central depot has a gas station.
Pick-up locations that have parcels for the trucks to collect.
Sorting stations where parcels are delivered. Each sorting station has a certain handling capacity. Whenever a truck arrives at a sorting station, all the parcels on the truck are offloaded (subject to station capacity) and the driver is credited with delivery.
Gas stations where trucks can refuel.

The income from the route is determined as follows.

$20 is received for each parcel picked up and delivered to a sorting station.
$1 is deducted for each km traveled.

Your task is to design and implement a program that will allow the user to specify a route for one truck, location by location, and compute the revenue from that particular route. The user specifies the next location by clicking on that locations symbol. After the truck moves to a new location, you must display the state of the truck.

Topic: Question about GUI component Previous Topic   Next Topic Topic: abstract and interface classes

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use