abstractqqq / polars_ds_extension

Polars extension for general data science use cases
MIT License
266 stars 18 forks source link

Added "reachability" for graph #75

Closed abstractqqq closed 4 months ago

abstractqqq commented 4 months ago

Implemented using Dijkstra in petgraph.

Essentially another shortest path algorithm that returns only (1) whether it is reachable (2) Distance assuming constant cost. However, this is way faster to compute so is better to use this as a filter