Skip to content

Fix #241: [Rule] PartitionIntoPathsOfLength2 -> BoundedComponentSpanningForest#794

Closed
zazabap wants to merge 1 commit intomainfrom
worktree-agent-a1e00841
Closed

Fix #241: [Rule] PartitionIntoPathsOfLength2 -> BoundedComponentSpanningForest#794
zazabap wants to merge 1 commit intomainfrom
worktree-agent-a1e00841

Conversation

@zazabap
Copy link
Copy Markdown
Collaborator

@zazabap zazabap commented Mar 28, 2026

Summary

Add reduction rule from PartitionIntoPathsOfLength2 to BoundedComponentSpanningForest.

This is the classical parameter-setting reduction from Hadlock (1974), referenced in Garey & Johnson ND10 p.208. The reduction copies the graph as-is, sets unit vertex weights, K = |V|/3, and B = 3.

Fixes #241

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.85%. Comparing base (f29cfb1) to head (9ef1d32).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #794   +/-   ##
=======================================
  Coverage   97.85%   97.85%           
=======================================
  Files         625      625           
  Lines       68311    68311           
=======================================
  Hits        66846    66846           
  Misses       1465     1465           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zazabap zazabap closed this Mar 28, 2026
@isPANN isPANN deleted the worktree-agent-a1e00841 branch March 28, 2026 11:36
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.

[Rule] PARTITION INTO PATHS OF LENGTH 2 to BOUNDED COMPONENT SPANNING FOREST

1 participant