GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shurygindv/find-shortest-path-gui: app

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
internal
internal
 
 
pkg
pkg
 
 
.gitignore
.gitignore
 
 
data.txt
data.txt
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
import_file_points.go
import_file_points.go
 
 
main.go
main.go
 
 
readme.md
readme.md
 
 

Repository files navigation

find-shortest-path-gui

Preview

preview

Installation

  1. Install Go https://go.dev/doc/install
  2. git clone https://github.com/shurygindv/find-shortest-path-gui
  3. cd find-shortest-path-gui
  4. go run .

TODOs

  1. Add combo-boxes to choose source/destinations nodes ✅
  2. Reorganize folder structure ✅
  3. Add tests ⌛
  4. Redesign default theme
  5. Refactor (effective go)

Description

There is a file with a description of the map of the city. Each road has three weights - the maximum bandwith of the road, its current load level as a percentage, and the distance between them. A possible variant of the file structure is given below

N - number of nodes (cities)
X1 Y1 // nodes coordinates
X2 Y2
...
XN YN
M - number of connections.
N1 K1 B1 L1 D1 //which nodes are connected (N1, K1), bandwidth (B1), load level (L1), distance (D1)
N2 K2 B2 L2 D2 
...
NM KM BM LM DM

Links

https://math.hws.edu/eck/cs327_s04/chapter8.pdf

https://algs4.cs.princeton.edu/44sp/

https://www.freecodecamp.org/news/dijkstras-shortest-path-algorithm-visual-introduction/#:~:text=Dijkstra's%20Algorithm%20finds%20the%20shortest,node%20and%20all%20other%20nodes.

https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm

Stack

Go 1.19 +fyne (interface)

Go: https://go.dev/

Fyne: https://fyne.io/

About

app

Topics

fynefyneappgogolanggui

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.