Expand description
Graph algorithm plugins.
Two surfaces: AlgorithmProvider for black-box algorithms (the
existing uni-algo library style), and GraphView — the stable,
read-only topology API a provider obtains from its AlgorithmHost
via AlgorithmHost::project to walk the graph without depending on
uni-store / uni-algo types.
Structs§
- Algorithm
Context - Per-invocation context passed to an
AlgorithmProvider. - Algorithm
Signature - Static signature of an algorithm.
- Graph
Projection Spec - Selects which subgraph an
AlgorithmHost::projectcall materializes. - Graph
Scope Spec - One pre-declared named projection from a CALL-site
scopesmap. - Slice
Req - A required capability-slice version an algorithm declares in its signature.
Enums§
- Knob
Reach - How a projection knob is reachable from a guest algorithm.
- Projection
Knob - Every graph-projection knob, enumerated so the guest/native surface contract
is checked at compile time: adding a knob forces a classification in
ProjectionKnob::reachand a key inProjectionKnob::config_key(both wildcard-freematches), mirroring the capabilityevery_variant_classified_exactly_onceexhaustiveness test. This is the anti-drift guard for the guest/native gap issue #151 exposed. Seedocs/proposals/graphcompute_projection_parity_2026-07-19.md§4.
Constants§
- HOST_
CAPABILITY_ SLICES - The capability slices this host implements, for load-time negotiation.
Traits§
- Algorithm
Host - Host callback surfacing graph access to plugin algorithms.
- Algorithm
Provider - A black-box graph algorithm.
- Graph
View - Stable, read-only topology view handed to a plugin algorithm.