Giter Club home page Giter Club logo

job-scheduler's Introduction

Job-Scheduler

A project that makes use of the Binary Search Tree data structure to allow users to create a job schedule.

This project is implemented using Python3.

Companies and people always have a list of jobs or tasks that they aspire to complete in a day.

This program maintains the scheduling of these daily jobs.

The program is also dynamic: New jobs can be scheduled and completed ones can be removed.

There are a basic number of jobs that are fed to the program when it starts. These jobs are added in the dataa.txt file.

The program is able to load these jobs and create a starter schedule from the load file when it starts.

The program is dynamic: Jobs can be added and removed and the order of scheduled jobs still remains intact.

Jobs only run one at a time. There is no overlap during the duration of a job.

The load file, dataa.txt, is dynamically updated as jobs are being added or removed. This is to ensure that the modified daily schedule are not lost when the user exits.

Binary Search Tree is used to implement this.

The key for the nodes is time. Since time is continuous and we can only have one job run at a time the BST will not allow for duplicate jobs. Also, scheduling becomes easy.

The BST structure ensures that we are able to always provide an in-order form of the jobs and e can easily insert and remove jons all the while ensuring there is no overlap.

job-scheduler's People

Contributors

ikasare avatar

Watchers

 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.