Git Product home page Git Product logo

closest-pair-finder's Introduction

Closest Pair Finder

Closest points pair finder for any dimensions!

Composed to fulfill Tucil 2 IF2211 Strategi Algoritma

Program Description

This program is used for find closest pair from random points generated. Program retrieve number of random points to generate and number of dimension of its points from users. Technically program use Divide and Conquer algorithm to find the closest pair, but program use Brute-Force algorithm as well as a benchmark. Program use two factor to compare the efficiency of the algorithm: Execution time and number of euclidean operation operated. If number of dimension inputed is lower or equal by three, program can visualize the scattering diagram as well.

Result

Program Structure

│   README.md
│
├───bin
│       .gitignore
│
├───doc
│       Tucil2_13521109_13521119.pdf
│
├───image
│       result.jpg
│       splash_screen.jpg
│
└───src
        bruteForce.py
        dataType.py
        divideConquer.py
        IO.py
        main.py
        visual.py

Requirement

  • python3
  • customtkinter version 5.1.2

How To Run

  1. install customtkinter using pip install customtkinter==5.1.2 in ..\Tucil2_13521109-13521119 directory
  2. type python3 main.py or python3 main.py in ..\Tucil2_13521109-13521119\src directory

Author

NIM Name
13521109 Rizky Abdillah Rasyid
13521119 Muhammad Rizky Sya'ban

closest-pair-finder's People

Contributors

mrsyaban avatar rizkyrsyd28 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.