Skip to content

Add GraphUtil algorithms and tests#60

Open
Raild3x wants to merge 1 commit into
mainfrom
feat/GraphUtil
Open

Add GraphUtil algorithms and tests#60
Raild3x wants to merge 1 commit into
mainfrom
feat/GraphUtil

Conversation

@Raild3x

@Raild3x Raild3x commented May 14, 2026

Copy link
Copy Markdown
Owner

Introduce a GraphUtil library implemented in Luau: BFS, DFS, Dijkstra, AStar, Bellman-Ford, Connectivity, MST, TopologicalSort, Types, and init, plus a wally.toml manifest. Each algorithm is provided with iterative, heap-backed or queue-backed implementations as appropriate (e.g. min-heap for Dijkstra/A*, Kosaraju for SCCs, Bellman-Ford with negative-cycle detection). A test suite (GraphTests) accompanies the implementations to validate behavior. This adds core pathfinding, traversal, and connectivity utilities for consumers of the library.

Introduce a GraphUtil library implemented in Luau: BFS, DFS, Dijkstra, AStar, Bellman-Ford, Connectivity, MST, TopologicalSort, Types, and init, plus a wally.toml manifest. Each algorithm is provided with iterative, heap-backed or queue-backed implementations as appropriate (e.g. min-heap for Dijkstra/A*, Kosaraju for SCCs, Bellman-Ford with negative-cycle detection). A test suite (GraphTests) accompanies the implementations to validate behavior. This adds core pathfinding, traversal, and connectivity utilities for consumers of the library.
@Raild3x Raild3x self-assigned this May 14, 2026
Copilot AI review requested due to automatic review settings May 14, 2026 21:41
@Raild3x Raild3x added enhancement New feature or request Minor Added functionality in a backward compatible manner labels May 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Minor Added functionality in a backward compatible manner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants