An algorithm to enumerate all Labeled Trees with an implementation in Rust.

In this story we consider the following problem:

Given a set of n elements, enumerate all trees that contain all these elements as vertex.

For the reader who followed my account on basic theorems of graph theory (see here), this terminology should be familiar.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
applied.math.coding

applied.math.coding

525 Followers

I am a mathematician and software developer who likes writing advanced code and to do research in applied and pure mathematics.