Skip to content

Conversation

@Sirivasv
Copy link
Owner

@Sirivasv Sirivasv commented Sep 1, 2025

Fixes #24

Copilot AI review requested due to automatic review settings September 1, 2025 17:16
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 constructor to the BMSSP (Bidirectional Multi-Source Shortest Path) class, replacing the previous simple message functions with a proper graph data structure initialization.

  • Introduces a BMSSP class with a constructor that accepts and deep copies input graph data
  • Updates all imports and examples to use the new BMSSP class instead of message functions
  • Adds comprehensive test documentation and sets up test infrastructure with real-world road network data

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/bmssp.mjs Replaces message functions with BMSSP class and constructor
index.mjs Updates exports to expose BMSSP class
test/main.test.mjs Replaces message tests with constructor tests using California road network data
test/README.md Adds comprehensive test documentation and dataset information
examples/main.mjs Updates example to demonstrate BMSSP constructor usage
README.md Updates usage example to show BMSSP class instantiation

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

@codecov
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Sirivasv Sirivasv merged commit f066ac8 into main Sep 1, 2025
5 checks passed
@Sirivasv Sirivasv deleted the feat/add-constructor branch September 1, 2025 17:23
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.

Introduce datasets of inputs

2 participants