multiple-algorithms-behind-unified-interface

Status: IN

Multiple systems offer interchangeable algorithm variants through a single interface — routing toggles A*/Dijkstra via a heuristic flag, URL shortening selects counter/hash strategy, and rate limiting provides four algorithm implementations — enabling strategy changes without API changes.

Justifications

Algorithm selection is a configuration choice, not an architectural one — all three systems swap strategies without changing their public contract

Depends on (SL): maps-dual-mode-astar-dijkstra, rate-limiter-four-algorithms, url-shortener-two-strategies

Depended on by

JSON