Git Product home page Git Product logo

christofides-algorithm's Introduction

Christofides-Algorithm

One popular approximate solution of Travelling Salesman Problem is Christofides Algorithm. In this code, one can found several different ways, which are applied on matching and spanning tree parts, of implementing successful Christofides algorithm.

In the project folder, there are one Jupyter Notebook file, which is named as main_program.ipynb and three python files, which are named as Christofides_Algorithm.py, run_functions.py and main_program.py. Both options, which are main_program.ipynb and main_program.py, work exactly same. In the main_program, the graphical user interface is implemented, and it calls the functions, which are imported from created python files. There are two created python files, one for the Christofides algorithm and one calling imported Christofides’ functions in an ordered way, hence user can directly run main_program.ipynb or main_program.py, choose the desired algorithm and input way. main_program calls the functions from imported python script that is run_functions.py and that script will call the functions from Christofide_Algorithm.py file in an ordered way.

christofides-algorithm's People

Contributors

singultek 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.