Coder Social home page Coder Social logo

2022_ds_bike_rental's Introduction

2022_DS_bike_rental

This a bike-rental system aimed to leverage the gross profit for the company, while maintaining minimum routes for the users. The program is implemented with data structure such as max-heap, and minimum routing algorithm such as Floyd Warshall.

How to complie and execute

The overall structure

Source files:

  • main.cpp: the driver code of the program.
  • basic.cpp: the basic version of the program.
  • advance.cpp: the advance version of the program.
  • input_data.cpp: write data from input files.
  • output_data.cpp: write data to required files.
  • user_request.cpp: for handling every user request based on arrive time.
  • floyd_washall.cpp: for implementing floyd_washall algo.
  • sort.cpp: implement Quick Sort for sorting user by their arrive time and
  • bike_class.cpp: implement class of bike related data structure.
  • user_info.cpp: implement class of user related data structure.
  • heap.cpp: implement class of “heap of bike” data structure.
  • station_bike.cpp: implement class of “array of heap of bike” data structure.

Header files:

  • nthu_bike.h: declare all the classes and functions in the header file:

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.