Skip to content

Commit c57f685

Browse files
petercorkeclaude
andcommitted
Rename PGraph -> _BaseGraph and Vertex -> BaseVertex
PGraph was confusing as the name of the abstract base class shared by UGraph/DGraph -- it read like a concrete graph type, and its own docstring already called it a superclass. Renamed to _BaseGraph (leading underscore: never meant to be instantiated directly, an ABC). Vertex -> BaseVertex for the same clarity reason, but without the underscore -- unlike _BaseGraph it's legitimately instantiated standalone (e.g. for Edge cost-math demos), so a private-looking name would be misleading. Matches RTB's own BaseRobot convention. Pure mechanical rename (regex on the whole-word identifiers PGraph and Vertex, careful to leave UVertex/DVertex/_vertex_cls/vertex_copy and lowercase "vertex" untouched) -- no behavioural change, 34/34 tests still pass unchanged. Neither class was ever exported from pgraph/__init__.py or referenced by name elsewhere in the RVC ecosystem, confirmed by a full grep across RTB/MVTB/bdsim. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 0768f97 commit c57f685

1 file changed

Lines changed: 132 additions & 132 deletions

File tree

0 commit comments

Comments
 (0)