Giter VIP home page Giter VIP logo

discalgs's Introduction

Disk-scheduling Algorithms

            con nam mo adidas phat  

                   _oo0oo_
                  o8888888o
                  88" . "88
                  (| -_- |)
                  0\  =  /0
                ___/`---'\___
               .' \|     |// '.
              / \|||  :  |||// \
            / _||||| -:- |||||- \
            |   | \\  -  /// |   |
           | \_|  ''\---/''  |_/ |
           \  .-\__  '-'  ___/-. /
         ___'. .'  /--.--\  `. .'___
      ."" '<  `.___\_<|>_/___.' >' "".
     | | :  `- \`.;`\ _ /`;.`/ - ` : | |
     \  \ `_.   \_ __\ /__ _/   .-` /  /
 =====`-.____`.___ \_____/___.-`___.-'=====
                   `=---='


 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

About

This is a simple program which implements the following Disk-scheduling algorithms: FCFS, SSTF, SCAN, C-SCAN, LOOK, and C-LOOK

image

image

image

image

image

image

Technology

  • NetBeans 8.2

How to use

  1. Clone this repo using Git Bash or Github Desktop, or Download as zip.
  2. Import the project to your JRE or JDK (NetBeans or Eclipse are recommended).
  3. Clean and build, then run the project (If you wanna use command line, then try this after compiling the project:
    java -jar "(file pathname)\DiskSchedulingAlgs\dist\DiskSchedulingAlgs.jar"

Features

  • Calculating seek time with each algorithm.
  • Supporting 3 type of requests input:
    1. From keyboard
    2. From requests.txt. For example:
      Requests sequence:
      176 79 34 60 92 11 41 114
      Total cylinders:
      200
      
    3. Generate a random requests sequence.
  • Save the results in the text file corresponding to each algorithm.

Our team

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.