Class TypedNetworkStore

In-memory 4-bank store. Holds facts indexed by ID + per-bank ID set

  • outgoing-edge map. Constructed empty; populate via addFact and addEdge.

Constructors

Methods

  • Insert a typed edge. Stores both the forward edge (from โ†’ to) and a paired reverse edge (to โ†’ from) so spreading activation traverses bidirectionally per Hindsight ยง2.4.1. Identical reverse- edge insertion is what makes entity, semantic, and temporal links bidirectional by construction.

    Parameters

    Returns void

  • Delete facts by ID, from every bank they are filed in (a fact added again under another bank stays filed in the bank it had, see addFact), with every edge that starts or ends at one of them. Unknown IDs are skipped.

    Parameters

    • ids: Iterable<string, any, any>

    Returns number

    How many facts were deleted.