Giter Site home page Giter Site logo

hutomosaktikartiko / traveling-salesman-problem-with-p5-js Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 926 KB

TSP with javascript library

HTML 0.01% JavaScript 99.99%
p5js tsp tsp-problem genetic-algorithm generate-and-test lexicographical lexicographical-order

traveling-salesman-problem-with-p5-js's Introduction

Apa Itu P5.js ?

p5js adalah javascript library yang digunakan untuk membuat sketch, gambar, desain, di web canvas. p5js merupakan implementasi dari Processing khususnya untuk web. Processing sendiri adalah software sekaligus bahasa pemrograman untuk membuat visual art, prototyping, untuk pembelajaran, dsb. atau biasa di artikan “Menggambar dengan coding”.

Apa Itu Traveling Selesman Problem ?

Traveling Salesman Problem (TSP) adalah permasalahan yang sudah cukup tua di dunia optimasi. Pada permasalahan ini, ada sebuah kota awal dan sejumlah n kota untuk dikunjungi. Seorang salesman dituntut memulai perjalanan dari kota awal ke seluruh kota yang harus dikunjungi tepat satu kali.

Secara ringkas, berikut adalah karakteristik dari permasalahan TSP:

  1. Perjalanan berawal dan berakhir dari dan ke kota awal
  2. Ada sejumlah kota yang semuanya harus dikunjungi tepat satu kali
  3. Perjalanan tidak boleh kembali ke kota awal sebelum semua kota tujuan dikunjungi
  4. Tujuan dari permasalahan ini adalah meminimumkan total jarak yang ditempuh salesman dengan mengatur urut-urutan kota yang harus dikunjungi

Sumber :

traveling-salesman-problem-with-p5-js's People

Contributors

hutomosaktikartiko avatar

Stargazers

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