jpmmcneill / dbt-graph-theory

A dbt package designed to help SQL based analysis of graphs
Apache License 2.0
20 stars 1 forks source link

Euler classification macro #6

Open jpmmcneill opened 2 years ago

jpmmcneill commented 2 years ago

Eulerian paths and Eulerian circuits

jpmmcneill commented 1 year ago

From wikipedia:

In graph theory, an Eulerian trail (or Eulerian path) is a trail in a finite graph that visits every edge exactly once (allowing for revisiting vertices). Similarly, an Eulerian circuit or Eulerian cycle is an Eulerian trail that starts and ends on the same vertex.