https://github.com/abdallahhemdan/tayara
π΅ Tayara is delivery system which manage the process of receiving the orders and deliver it to the customer fully coded using C++/C
https://github.com/abdallahhemdan/tayara
cpp cufe-2022 data-structure data-structures delivery-sys delivery-tracker
Last synced: 5 months ago
JSON representation
π΅ Tayara is delivery system which manage the process of receiving the orders and deliver it to the customer fully coded using C++/C
- Host: GitHub
- URL: https://github.com/abdallahhemdan/tayara
- Owner: AbdallahHemdan
- License: mit
- Created: 2019-03-11T00:02:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T15:06:19.000Z (over 5 years ago)
- Last Synced: 2025-03-31T13:27:31.867Z (7 months ago)
- Topics: cpp, cufe-2022, data-structure, data-structures, delivery-sys, delivery-tracker
- Language: C
- Homepage:
- Size: 10.7 MB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
π΅ Tayara
[](https://github.com/AbdallahHemdan/Tayara/contributors)
[](https://github.com/AbdallahHemdan/Tayara/issues)
[](https://github.com/AbdallahHemdan/Tayara/network)
[](https://github.com/AbdallahHemdan/Tayara/stargazers)
[](https://github.com/AbdallahHemdan/Tayara/blob/master/LICENSE)## β Main idea
> Tayara is delivery system which manage the process of receiving the orders and deliver it to the customer.
---------------------------------
## π Project description
Our system receive a list of orders as input.
This list represents the scenario to be simulated.For each order, the system will receive the following information:
- Arrival Time Stamp: When the order was made.
- Order Type: There are 3 types of orders: VIP orders, Frozen orders and Normal orders.β’ VIP orders must be serviced first before frozen and normal orders.
β’ Frozen orders are the orders that needs to be delivered using motorcycles with
refrigerators (Frozen Motorcycles) to keep its temperature low.
β’ Normal orders are the orders that neither VIP nor Frozen.- Order Region: the restaurant has 4 branches. Each branch is in a different region. The
Order Region indicates the region of the order and hence the branch that should deliver the
order to the customer.
- Order Distance: the distance between the restaurant and the order location (in meters).
- Order Money: the total order money the customer should pay.At startup, the system loads (from a file) information about the available motorcycles. For
each motorcycle, the system will load the following information:
- Motorcycle Type: There are 3 types: Fast motorcycles, Frozen motorcycles and Normal
motorcycles.β’ Fast motorcycles are motorcycles with higher speed level.
β’ Frozen motorcycles are the motorcycles that have small refrigerator to save food
in.
β’ Normal motorcycles are the motorcycles that neither Fast nor Frozen.- Motorcycle Region: the branch or the region of this motorcycle (from which the motorcycle
starts its delivery and to which it returns after delivery).
- Note: The Motorcycle speed (the number of meters it can move in one timestep) is the
same for all motorcycles of the same type## πDark Mode

## β Light Mode