Giter Site home page Giter Site logo

aashrafh / tayara Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10.75 MB

πŸ›΅ Tayara is delivery system which manage the process of receiving the orders and deliver it to the customer fully coded using C++/C

License: MIT License

C++ 25.39% C 74.24% Objective-C 0.37%
data-structure oop oop-principles delivery

tayara's Introduction

πŸ›΅ Tayara

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub 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

Dark Mode

β›…Light Mode

Light Mode

tayara's People

Contributors

aashrafh avatar aashrafh22 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.