Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Package Delivery System Simulation Framework Create a java application and a background simulation framework to display tracking information for the package delivery system of FedEx

Package Delivery System Simulation Framework Create a java application and a background simulation framework to display tracking information for the package delivery system of FedEx (as shown in Figure 1 below). Requirements: Implement a method to accept new packets (along with its attributes as shown in the figure below). A user should also be able to query the system with a unique tracking number and get results similar to what is shown in the snapshot attached below (Figure 1). All packet data, from the birth of a packet till it reaches its destination, should be stored in a MySQL database. Each thread should compute shortest path for delivery of a package (using Dijkstras shortest path algorithm or similar) through the list of Fedex distribution centers shown below. Assume all point to point distance is 1, and every center is connected to its nearest 2 neighbors based on geographical distance). List of Fedex Distribution Centers Northborough, MA Edison, NJ Pittsburgh, PA Allentown, PABD Strap Endlinksth Martinsburg, WV Charlotte, NC Atlanta, GA Orlando, FL Memphis, TN Grove City, OH Indianapolis, IN Detroit, MI New Berlin, WI Minneapolis, MN St. Louis, MO Kansas, KS Dallas, TX Houston, TX Denver, CO Salt Lake City, UT Phoenix, AZ Los Angeles, CA Chino, CA Sacramento, CA Seattle, WA The application should accept new packets with their properties (Figure 1). This information should be stored in the MySQL database. The user should also be able to query with an input tracking number and print the tracking details of the package as shown in Figure 1. This data will be read out of the MySQL database. Every active packet will create its own thread as it travels from source to destination in the system. In each step of the simulation, a packet moves from one center (or node in the graph) to another. The MySQL database is also updated for every packet at the end of a simulation step. The simulation step can be generated in the main thread using the system clock (or its multiple). Any query should spawn a new thread which will project all the information about a certain packet onto the screen

image text in transcribed

Travel History Date/Time Activity Location -8/27/2015 - Thursday 11:37 am F 42 am 5:00 am Delivered On FedEx vehicle for delivery At local FedEx facility Charlottie, NC CHARLOTTE, NC CHARLOTTE NC -8/26/2015 - Wednesday 8:52 pm 2:14 pm Departed FedEx location Arrived at FedEx location CHARLOTTE NC CHARLOTTE, NC 8/21/2015-Friday 7:40 am 5:32 am 1:06 am Departed FedEx location Arrived at FedEx location Left FedEx origin facility SACRAMENTO, CA SACRAMENTO, CA SAN JOSE, CA -8/20/2015-Thursday 9:23 pm 3:21 pm Arrived at FedEx location SAN JOSE, CA Picked up SAN JOSE CA -8/19/2015 - Wednesday 8:05 pm In FedEx possession Tendered at FedEx location Shipment information sent to FedEx In FedEx possession Package received after final location pickup has occurred. Scheduled for pickup next business day. SAN JOSE, CA 8:05 pm 7:45 pm SANTA CLARA. CA Shipment Facts Tracking FedEx Home Delivery Service Dimensions 13x12x9 in. Total pieces Special handling Direct Signature Required 800000101010 number Weight Signature 7.6 lbs /3.45 kgs Direct signature required Package services section Packaging

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

What is job rotation ?

Answered: 1 week ago