Shrey Tripathi

Final year grad student, International Institute of Information Technology (IIIT) Bangalore

shrey.tripathi [AT] iiitb.ac.in

Package Shipment Management

Modelling Package Shipment Management in Swing

A Java Swing program implementing package shipment management.

How it works:

A logistics company that manages a large volume of packages, has a number of stations distributed all over the map. Packages are shipped from any station to any other station. To simplify things, all packages from a given station to the same destination are loaded onto one or more Trucks. Stations are connected to Hubs, which are the nodes of a Highway network. Thus, a Truck that goes from a source Station to a destination Station is routed as follows:

Constraints:

Different companies manage the hubs and trucks. However, they all conform to some basic design. To model this, we have the following:

The files Hub.java, Truck.java, Highway.java contain definitions of the base classes.

For the simulation:

Implementation:

GitHub Repository