Nous.Decisions.Store.ETS (nous v0.15.8)

View Source

ETS-backed decision graph store.

Uses two unnamed ETS tables (one for nodes, one for edges) so multiple instances can coexist. Graph queries use in-memory BFS traversal.

Quick Start

{:ok, state} = Nous.Decisions.Store.ETS.init([])
node = Nous.Decisions.Node.new(%{type: :goal, label: "Ship v1.0"})
{:ok, state} = Nous.Decisions.Store.ETS.add_node(state, node)

Summary

Functions

Create two ETS tables for nodes and edges.

Functions

init(opts)

@spec init(keyword()) :: {:ok, map()}

Create two ETS tables for nodes and edges.

Options

None currently supported.