Inouzhe H (2024). optimalFlow: optimalFlow. R package version 1.18.0.