This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Commit a93a88a
committed
refactor: deduplicate PlanarGraphAnalyzer.countComponents → delegate to GraphUtils
PlanarGraphAnalyzer had a full 20-line BFS implementation of countComponents()
that was functionally identical to GraphUtils.countComponents(). Replaced with
a one-line delegation to the shared utility, eliminating duplicated graph
traversal code.
This follows the pattern already established by TreeAnalyzer,
FeedbackVertexSetAnalyzer, and GraphSparsificationAnalyzer which all delegate
to GraphUtils for component counting.1 parent 5e8f2b2 commit a93a88a
1 file changed
Lines changed: 2 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
| 472 | + | |
494 | 473 | | |
495 | 474 | | |
496 | 475 | | |
| |||
0 commit comments