Skip to content

Conversation

@0hmX
Copy link
Contributor

@0hmX 0hmX commented Dec 15, 2025

Overview

This PR introduces a new EdgeExpansionSolver algorithm for generating capacity mesh nodes. Unlike the existing RectDiffSolver which uses a grid-based approach, this solver creates nodes at obstacle boundaries and expands them outward.

Algorithm

  • Creates 8 capacity nodes per obstacle (4 edge nodes + 4 corner nodes)
  • Each node starts with minimum visible size and expands in its free dimensions
  • Uses priority-based expansion (largest potential area first) for conflict resolution
  • Granular step-by-step expansion (one direction per step) for smooth visualization

- Implement EdgeExpansionSolver with granular step-by-step expansion
- Create 8 nodes per obstacle (4 edges + 4 corners) that expand outward
- Add conflict resolution with priority-based expansion
- Include visualization pages and comprehensive tests
- Refactor code to follow coding standards (one function per file, context-passing pattern)
- Add configuration file for easy tuning of expansion parameters
@vercel
Copy link

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
rectdiff Ready Ready Preview, Comment Dec 15, 2025 1:26pm

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.

2 participants