Skip to content

Conversation

@Sirivasv
Copy link
Owner

Fixes #28

Copilot AI review requested due to automatic review settings September 13, 2025 11:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new shortestPaths output array to the BMSSP class that initializes shortest path distances to infinity for each node in the graph.

  • Adds shortestPaths array property to store shortest path distances
  • Initializes each node with infinite distance in the shortest paths array
  • Includes test coverage for the new shortest paths initialization functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/bmssp.mjs Adds shortestPaths array property and initialization logic
test/main.test.mjs Adds test suite to verify shortestPaths initialization behavior

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <[email protected]>
@codecov
Copy link

codecov bot commented Sep 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Sirivasv Sirivasv merged commit 9b7ec5a into main Sep 13, 2025
5 checks passed
@Sirivasv Sirivasv deleted the feat/outputs branch September 13, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an output attribute

2 participants