Git Product home page Git Product logo

shortest-path-simulation's Introduction

Shortest Path Simulation

网络拓扑图最短路径模拟

功能特点

  • 创建和编辑网络拓扑图。
  • 运行 Dijkstra 和 Bellman-Ford 算法。
  • 图形化展示最短路径选择。
  • 交互式用户界面。

安装指南

先决条件

确保您的系统已经安装了 Python(版本 3.x)和以下依赖库:

  • PyQt5
  • NetworkX
  • Matplotlib

使用须知

pip install requirment.txt

运行main.py

  1. 启动应用程序后,您可以通过输入框添加节点和边来创建网络拓扑。
  2. 使用下拉菜单选择起始节点、目的节点和路由算法。
  3. 点击“运行算法”按钮查看最短路径的图形化展示。

截图

1.初始化

image-20231226122944520

2.加入边和节点,选择算法,运行

image-20231226123058390

shortest-path-simulation's People

Watchers

Shi Zhuofan 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.