Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tiagocavalcante/fls-bench

Benchmarks for FLS and Yen algorithm
https://github.com/tiagocavalcante/fls-bench

benchmark fixed-length-search yen

Last synced: 3 days ago
JSON representation

Benchmarks for FLS and Yen algorithm

Awesome Lists containing this project

README

        

# fls-bench

Benchmarks for FLS and Yen algorithm

## Where the code come from?

The implementation of Yen's algorithm can be found [here](https://github.com/TiagoCavalcante/yen).

The implementation of the fixed length search can be found [here](https://github.com/TiagoCavalcante/fixed-length-search).

## How to run?

```sh
$ cargo run --release
```

## What is the difference?

As you can see FLS is waaay faster than Yen's algorithm for finding paths with a fixed length in unweighted graphs:

![Comparsion of Yen's algorithm and FLS](https://user-images.githubusercontent.com/62714153/184565536-e835e754-f3be-4c63-960b-d5f52bcba6ab.svg)