TheAlgorithms-Python/graphs
Maxim Smolskiy ac111ee463
Reduce the complexity of graphs/bi_directional_dijkstra.py (#8165)
* Reduce the complexity of graphs/bi_directional_dijkstra.py

* Try to lower the --max-complexity threshold in the file .flake8

* Lower the --max-complexity threshold in the file .flake8

* updating DIRECTORY.md

* updating DIRECTORY.md

* Try to lower max-complexity

* Try to lower max-complexity

* Try to lower max-complexity

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-03-28 23:41:54 +02:00
..
tests Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
__init__.py
a_star.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
articulation_points.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
basic_graphs.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
bellman_ford.py Add Flake8 comprehensions to pre-commit (#7235) 2022-10-15 19:29:42 +02:00
bi_directional_dijkstra.py Reduce the complexity of graphs/bi_directional_dijkstra.py (#8165) 2023-03-28 23:41:54 +02:00
bidirectional_a_star.py The black formatter is no longer beta (#5960) 2022-01-30 20:29:54 +01:00
bidirectional_breadth_first_search.py mandelbrot.py: Commenting out long running tests (#5558) 2021-10-23 18:15:30 +02:00
boruvka.py [mypy] Fix type annotations in graphs/boruvka.py (#5794) 2021-11-08 21:47:09 +08:00
breadth_first_search_2.py Update breadth_first_search_2.py (#7765) 2022-10-28 22:27:39 +02:00
breadth_first_search_shortest_path_2.py Rename files (#7819) 2022-10-29 14:31:56 +02:00
breadth_first_search_shortest_path.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
breadth_first_search_zero_one_shortest_path.py Rename files (#7819) 2022-10-29 14:31:56 +02:00
breadth_first_search.py [mypy] Type annotations for graphs directory (#5798) 2021-11-08 19:18:30 +01:00
check_bipartite_graph_bfs.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
check_bipartite_graph_dfs.py
check_cycle.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
connected_components.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
depth_first_search_2.py
depth_first_search.py
dijkstra_2.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
dijkstra_algorithm.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
dijkstra_alternate.py Create graphs/dijkstra_alternate.py (#7405) 2022-10-20 09:48:28 +02:00
dijkstra.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
dinic.py
directed_and_undirected_(weighted)_graph.py clean of unnecessary checks, imports, calls (#7993) 2022-11-21 00:00:27 +13:00
edmonds_karp_multiple_source_and_sink.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
eulerian_path_and_circuit_for_undirected_graph.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
even_tree.py
finding_bridges.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
frequent_pattern_graph_miner.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
g_topological_sort.py
gale_shapley_bigraph.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
graph_list.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
graph_matrix.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
graphs_floyd_warshall.py
greedy_best_first.py
greedy_min_vertex_cover.py [mypy] Type annotations for graphs directory (#5798) 2021-11-08 19:18:30 +01:00
kahns_algorithm_long.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
kahns_algorithm_topo.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
karger.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
markov_chain.py
matching_min_vertex_cover.py
minimum_path_sum.py Add minmum path sum (#5882) 2022-05-25 13:49:54 +08:00
minimum_spanning_tree_boruvka.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
minimum_spanning_tree_kruskal2.py
minimum_spanning_tree_kruskal.py
minimum_spanning_tree_prims2.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
minimum_spanning_tree_prims.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
multi_heuristic_astar.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
page_rank.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
prim.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
random_graph_generator.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
scc_kosaraju.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
strongly_connected_components.py
tarjans_scc.py