Giter Site home page Giter Site logo

hvudeshi / shortest-path-finder Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 103 KB

Shortest Path finder for wandering Traveller using Dijikstra's Algorithm

Java 100.00%
datastructures algorithms algorithms-and-data-structures java shortest-path-algorithm shortest-pathfinding-algorithm shortest-path-problem

shortest-path-finder's Introduction

Shortest-Path-Finder

This is the Application for calculating the shortest path for particular source and multiple destinations in the city using Dijkstra’s shortest path algorithm. This project was in the course "Data Structures and Algorithms".

There is a 13 node Graph. ( Find the "Graph.png" )

Details of the Graphs are stored in 3 files.

Graph.dat
Vertex.dat
VertexList.dat

Example:

According to Graph Source and Destinations are:

Source:

Airport

Destinations:

SEAS
RailwayStation
LawGarden

Then the Ouput will be:

Airport----->RailwayStation
RailwayStation----->GitaMandir----->LawGarden
LawGarden----->SEAS

So, This is the shortest route for covering these destinations from source

How to Run:

  1. If you want to calculate shortest path for source and multiple destinations then select "User" mode when you run the file.

  2. If you want to create your own graph then select "Developer" mode when you run the file.

shortest-path-finder's People

Contributors

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