Giter Site home page Giter Site logo

binpacker's Introduction

CS51 final project to demonstrate bin packing algorithm using OCaml. Watch the video here.

Authors: Zeeshan Qamar and Shin Wachi

Compile the packer

make -k         : To compile the program	

Run the packer

Main.native GUI : To RUN the GUI MODE, Bin & Pobjs are in random rectangle size.
                  user can view all Packing Algorithm by 
                  'M' 'm' -> Forward movement
                  'N' 'n' -> Backward movement
                  'I' 'i' -> Re-Initialization
			
./Main.native Auto : Mode for the Automation service to run & extract 
                     information in continuity.

./Main.native Hole : Same as GUI mode, but Bins will be generated with obstacle 
                     of 2x2 block at random position.

./Main.native Tetromino	: Same as GUI mode, but Pobjs are not rectangle shape 
                          but in random Tetromino shape.

Warning1 : The BestFit is computationally heavy algorithm, since all Pobjs and 
           Bins are randomly generated hence there might be in situation where 
           processing time of BF varies from 400s to 900s. Please be patient.

Warning2 : Hole mode depicts the Bin Defect scenario in real world. Hence there
           could be scenario where size of Pobjs is greater than Bin size. 
           In this case exception will happen (this is an extra feature).

binpacker's People

Contributors

zashqash avatar swachi avatar shinwachi avatar

Watchers

 avatar James Cloos 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.