Skip to content

stbnps/Kruskal-building-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kruskal-building-block

This repo contains an implementation of the Kruskal algorithm for finding the minimum spanning tree.

It uses the union find data structure for efficiency and it has been written with extensibility in mind.

Just extend the Node and the Edge class to suit your needs, and you are good to go!

For instance, you can extend them as adapters to your classes so that you don't even have to tweak your code.

About

Implementation of the Kruskal algorithm as a building block.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages