Graph Algorithms Demo: Voronoi, Delaunay, MST & TSP

Graph Algorithms Demo: Voronoi, Delaunay, MST & TSP
Loading the math board and drawing, please wait…
2012-09-18 16:05
This applet visualizes several classic graph algorithms on a planar point set, including Voronoi diagrams, Delaunay triangulation, convex hull, the traveling salesman problem, shortest paths, and minimum spanning trees. Core mathematical concepts cover computational geometry, graph theory fundamentals, nearest‑neighbor search, and combinatorial optimization. Construction uses GeoGebra commands Voronoi, DelauneyTriangulation, ConvexHull, TravelingSalesman, Segment, ShortestDistance, MinimumSpanningTree together with point objects A–L, lists list1 and list2, and parameters n, loc1–loc4 to create an interactive scene. Suitable for high‑school elective courses on algorithms, university discrete mathematics, or computational geometry classes for teaching demonstrations and self‑guided exploration.

GeoGebra Commands & Parameters

  1. Voronoi(list1) → loc1
  2. DelauneyTriangulation(list1) → loc2
  3. ConvexHull(list1) → loc3
  4. TravelingSalesman(list1) → loc4
  5. Segment(L, H) → a
  6. Segment(L, A) → b
  7. Segment(A, G) → c
  8. Segment(G, F) → d
  9. Segment(F, E) → e
  10. Segment(E, K) → f
  11. Segment(K, G) → g
  12. Segment(K, B) → h
  13. Segment(B, E) → i
  14. Segment(E, J) → j
  15. Segment(J, B) → k
  16. Segment(B, C) → l
  17. Segment(C, J) → m
  18. Segment(J, D) → p
  19. Segment(D, C) → q
  20. Segment(D, I) → r
  21. Segment(J, I) → s
  22. Segment(I, E) → t
  23. Segment(F, I) → a_1
  24. Segment(F, H) → b_1
  25. Segment(L, F) → c_1
  26. ShortestDistance(list2, C, L, true) → loc5
  27. MinimumSpanningTree(list1) → loc6