Giter Site home page Giter Site logo

jigyansunanda / shortest-path-visualizer Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 89.44 MB

A web application to visualize various shortest path algorithms.

Home Page: https://jigyansunanda.github.io/Shortest-Path-Visualizer/

License: MIT License

HTML 1.91% CSS 15.19% JavaScript 82.90%
pathfinding-algorithm pathfinding-algorithms pathfinding-visualizer shortest-path-algorithm shortest-pathfinding-algorithm visualization

shortest-path-visualizer's Introduction

Shortest Path Visualizer

Welcome !!!

This is a tool to help you visualize how the algorithms, used for solving Shortest Path Problem, work.

What is the Shortest Path Problem ?

The shortest path problem in graph theory, is a Combinatorial Optimization problem. The problem requires one to find a path between a source and a destination, such that travelling through the found path, costs the least. For the sake of problem-solving, this problem is interesting enough to try and solve. However, what makes this, one of the most-studied combinatorial optimization problem is the real life scenarios, that deal with this problem, as their primary application or as a subproblem of their primary application. Below are a few examples of such real life scenarios:

  • Finding Shortest Path between two places in applications like GPS-enabled Google Maps, Waze.
  • Used in IP routing. IP routing uses Open Shortest Path First (OSPF) routing protocol, that uses a shortest path problem solving algorithm named as Dijkstra's algorithm.
  • Communication Networks use shortest path problem solving algorithms to minimize network wide cost and regulate network traffic flows.

Over the time, various algorithms has been conceived to solve the shortest path problem. These algorithms both have their own advantages and disadvantages depending on the applications, they are used in. Here, however, only few of them has been implemented for visualization. These are:

  1. BFS(Breadth First Search)
  2. Dijkstra's Algorithm
  3. Bellman Ford Algorithm
  4. Floyd Warshall Algorithm

Meet The Algorithms

shortest-path-visualizer's People

Contributors

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