↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: graph

Python – A Beam Search in Graph

By Vitosh Posted on January 2, 2026 Posted in Python Tagged with algorithm, graph, graph search, heuristics, Python, simple
Python – A Beam Search in Graph

In our previous article, we explored the A* (A-Star) Algorithm. It is the gold standard for pathfinding as it is optimal – it always finds the shortest path. But in the real world (chess engines, LLM) it might be too …

Python – A Beam Search in Graph Read more »

Python – A Star Search in Graph

By Vitosh Posted on December 21, 2025 Posted in Python Tagged with a star, graph, graph theory, heuristics, Python, shortest path
Python – A Star Search in Graph

A* is probably my favourite graph search algorithm. Some 10+ years ago, I have implmented it with Excel and after that I have written a few more implementations. Just, not to repeat myself, I will not discuss it here. The reason …

Python – A Star Search in Graph Read more »

Dijkstra’s Graph Algorithm with Python

By Vitosh Posted on December 8, 2025 Posted in Python, Visualization Tagged with algorithm, dijkstra, graph, Python, visualization
Dijkstra’s Graph Algorithm with Python

In the previous articles, we have presented graphs with BFS and DFS. The BFS is actually good to find the path with the fewest nodes. But if the path with the fewest nodes is actually the most expensive, then we …

Dijkstra’s Graph Algorithm with Python Read more »

Depth-First Search (DFS) algorithm with Python

By Vitosh Posted on December 1, 2025 Posted in Python Tagged with depth-first search, DFS, graph, Python
Depth-First Search (DFS) algorithm with Python

Yesterday (blogging every day now!) I have presented a visualization with Python, in which a simple and basic graph was displayed. Today, I have showed how to traverse it with DFS (Depth-First Search) with quite basic skills. Just for the …

Depth-First Search (DFS) algorithm with Python Read more »

Drawing a Graph with Python

By Vitosh Posted on November 30, 2025 Posted in Python, Visualization Tagged with graph, nx, Python, traversing, visualization
Drawing a Graph with Python

Long time ago (somewhere in 2015) I have written an article about Dijkstra and the shortest path. In that article, I draw a graph on a notebook, just to illustrate what I was trying to traverse: Today, I was thinking …

Drawing a Graph with Python Read more »

Copyright © 2026 VitoshAcademy