Skip to main content

Module lobe_node

Module lobe_node 

Source
Expand description

Lobe-to-Node bridge — wraps a Lobe into a NodeFn<CognitiveState>.

This is the key adapter that lets lobes run inside the same Pregel BSP engine as outer graph nodes. The cognitive graph registers LobeNode instances as regular nodes — the engine sees standard NodeFn, the lobe sees its restricted LobeInput.

Structs§

LobeNode
Wraps a Lobe into a NodeFn<CognitiveState> for the cognitive graph.