~talfus-laddus/splt-exps-py

Split Expenses using the Edmonds-Karp Algorithm
docs: add docstring and comments
feat: construct adjacency matrix from expenses

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~talfus-laddus/splt-exps-py
read/write
git@git.sr.ht:~talfus-laddus/splt-exps-py

You can also use your local clone with git send-email.

#Split Expenses using the Edmonds-Karp Algorithm

#Requirements

  • Python: >= 3.10
  • Poetry: >= 1.4
  • Graphviz (Only needed for testing)

#Installation

# sudo apt-get install graphviz graphviz-dev
# sudo dnf install graphviz graphviz-devel
git clone https://git.sr.ht/~talfus-laddus/splt-exps-py
cd split-exps-py
poetry install

#Usage

poetry shell
pytest tests

#References

#General Informations

General Informations about Flow Networks, Maximum Flow Problem and Edmonds Karp Algorithm:

#Existing Implementations

Existing implementations of the Edmonds Karp Algorithm:

#Articles

Articles describing how to use graph theory of flow networks to efficiently split group expenses: