Skip to main content
1 of 2
Konrad Swanepoel
  • 3.5k
  • 2
  • 25
  • 23

Matroids and more generally, greedoids, are special classes of hypergraphs. For these classes greedy algorithms give optimal solutions for optimization problems, and have low polynomial time complexity. Special cases are

  • Kruskal's algorithm for finding minimal spanning trees, and
  • Dijkstra's algorithm for finding shortest paths, both in weighted graphs.

There are many other matroid algorithms. See for example

Konrad Swanepoel
  • 3.5k
  • 2
  • 25
  • 23