sr-tester / gralog

Visualize Graphs, Algorithms, Logics and Games
GNU General Public License v3.0
0 stars 0 forks source link

Implement Max Flow Feature using Ford-Fulkerson Algorithm #3

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

PR Feedback (click)

Summary of Changes

Please review and merge this pull request to add the requested feature for visualizing the Ford-Fulkerson algorithm.

Fixes #2.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

sweep-ai[bot] commented 1 year ago

Sandbox Executions

trunk init 1/3 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 14 linters were enabled (.trunk/trunk.yaml)
  bandit 1.7.5 (68 python files)
  black 23.9.1 (67 python files)
  checkov 3.0.15 (2 yaml files)
  git-diff-check (514 files)
  isort 5.12.0 (68 python files) (created .isort.cfg)
  markdownlint 0.37.0 (1 markdown file) (created .markdownlint.yaml)
  oxipng 9.0.0 (13 png files)
  prettier 3.0.3 (5 css, 1 markdown, 2 yaml files)
  ruff 0.1.3 (68 python files) (created ruff.toml)
  shellcheck 0.9.0 (5 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (5 shell files)
  trivy 0.46.1 (2 yaml files)
  trufflehog 3.62.1 (514 files)
  yamllint 1.32.0 (2 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt gralog-core/src/main/java/gralog/algorithm/FordFulkersonAlgorithm.java || exit 0 2/3 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures gralog-core/src/main/java/gralog/algorithm/FordFulkersonAlgorithm.java 3/3 ✓
Checked 1 file
✔ No issues

trunk fmt gralog-core/src/main/java/gralog/structure/Edge.java || exit 0 1/2 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures gralog-core/src/main/java/gralog/structure/Edge.java 2/2 ❌ (`1`)
  ISSUES  
gralog-core/src/main/java/gralog/structure/Edge.java:76:1
 76:1  high   trailing whitespace.  git-diff-check/error
Checked 1 file
✖ 1 new issue
Run trunk upgrade to upgrade 1 linter

trunk fmt gralog-core/src/main/java/gralog/structure/Edge.java || exit 0 1/2 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures gralog-core/src/main/java/gralog/structure/Edge.java 2/2 ❌ (`1`)
  ISSUES  
gralog-core/src/main/java/gralog/structure/Edge.java:76:1
 76:1  high   trailing whitespace.  git-diff-check/error
Checked 1 file
✖ 1 new issue
Run trunk upgrade to upgrade 1 linter

trunk init 1/3 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 14 linters were enabled (.trunk/trunk.yaml)
  bandit 1.7.5 (68 python files)
  black 23.9.1 (67 python files)
  checkov 3.0.15 (4 yaml files)
  git-diff-check (516 files)
  isort 5.12.0 (68 python files) (created .isort.cfg)
  markdownlint 0.37.0 (1 markdown file) (created .markdownlint.yaml)
  oxipng 9.0.0 (13 png files)
  prettier 3.0.3 (5 css, 1 markdown, 4 yaml files)
  ruff 0.1.3 (68 python files) (created ruff.toml)
  shellcheck 0.9.0 (5 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (5 shell files)
  trivy 0.46.1 (4 yaml files)
  trufflehog 3.62.1 (516 files)
  yamllint 1.32.0 (4 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt gralog-core/src/main/java/gralog/structure/Vertex.java || exit 0 2/3 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures gralog-core/src/main/java/gralog/structure/Vertex.java 3/3 ✓
Checked 1 file
✔ No issues

trunk fmt gralog-fx/src/main/java/gralog/gralogfx/views/FordFulkersonView.java || exit 0 1/2 ✓
Found no applicable linters for the requested path
trunk check --fix --print-failures gralog-fx/src/main/java/gralog/gralogfx/views/FordFulkersonView.java 2/2 ✓
Checked 1 file
✔ No issues
Run trunk upgrade to upgrade 1 linter

sweep-ai[bot] commented 1 year ago

Apply Sweep Rules to your PR?