Skip to main content

Module algorithm

Module algorithm 

Source
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§

AlgorithmContext
Per-invocation context passed to an AlgorithmProvider.
AlgorithmSignature
Static signature of an algorithm.
GraphProjectionSpec
Selects which subgraph an AlgorithmHost::project call materializes.
SliceReq
A required capability-slice version an algorithm declares in its signature.

Constants§

HOST_CAPABILITY_SLICES
The capability slices this host implements, for load-time negotiation.

Traits§

AlgorithmHost
Host callback surfacing graph access to plugin algorithms.
AlgorithmProvider
A black-box graph algorithm.
GraphView
Stable, read-only topology view handed to a plugin algorithm.