Skip to content

Settle the interface names and the return-type caveats - #191

Merged
mtfishman merged 3 commits into
mainfrom
mf/encoded-decoded-naming
Aug 28, 2026
Merged

mtfishman merged 3 commits into
mainfrom
mf/encoded-decoded-naming

Conversation

@mtfishman

@mtfishman mtfishman commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Renames the four encode and decode functions to participle form, so every name reads as the vertex or edge of the encoded graph. Also unifies the two parent_graph_type functions, one concept split across two submodules, and trims the return-type caveats on the vector-returning functions, which had grown into four wordings that over-specified the result.

Renames the four per-element encode and decode functions to participle form, so every name in the interface reads as the vertex or edge of the encoded graph, matching `encoded_graph` and the `encoded_vertices` and `decoded_vertices` fields.
`AbstractTreeGraph` and `QuotientView` both answer with the graph they wrap, so the two independent functions of that name become one generic in `NamedGraphs` that `PartitionedGraphs` extends.
@mtfishman mtfishman changed the title Rename the encode and decode functions to participle form Settle the interface names and return-type promises Aug 28, 2026
The functions returning a vector of names or edges carried caveats in four wordings, mostly over-specifying what the result is. Their plain descriptions already promise nothing about the concrete type, so the caveats go, leaving one note where the result really does alias the graph.
@mtfishman
mtfishman force-pushed the mf/encoded-decoded-naming branch from 8a7bc53 to c19b9b6 Compare August 28, 2026 22:01
@mtfishman mtfishman changed the title Settle the interface names and return-type promises Settle the interface names and the return-type caveats Aug 28, 2026
@mtfishman
mtfishman enabled auto-merge (squash) August 28, 2026 22:04
@mtfishman
mtfishman merged commit fc8b5f4 into main Aug 28, 2026
19 checks passed
@mtfishman
mtfishman deleted the mf/encoded-decoded-naming branch August 28, 2026 22:12
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.

1 participant