Skip to content

An algorithm that returns the number of distinct spanning trees in a graph where nodes are distinguishable in O(n^3)

Notifications You must be signed in to change notification settings

DevonFulcher/Kirchhoffs-Theorem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirchhoffs-Theorem

This code finds the number of distinct spanning trees of a graph where vertices are distinct given its adjacency matrix. There are no safeguards in this code. Invalid inputs will output nonsense. Finding the number of spanning trees of a graph takes O(n^3) time. There are more details in the files themselves.

About

An algorithm that returns the number of distinct spanning trees in a graph where nodes are distinguishable in O(n^3)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages