Skip to main content

Interface: TypedEdge

Defined in: packages/agentos/src/cognition/memory/retrieval/typed-network/types.ts:126

Typed edge between two facts in the network graph. Direction matters for causal edges (premise → conclusion); other kinds are bidirectional and stored as a pair of edges.

Properties​

fromFactId​

fromFactId: string

Defined in: packages/agentos/src/cognition/memory/retrieval/typed-network/types.ts:128

Source fact ID.


kind​

kind: "entity" | "semantic" | "temporal" | "causal"

Defined in: packages/agentos/src/cognition/memory/retrieval/typed-network/types.ts:132

Edge kind — drives μ(ℓ) multiplier in spreading activation.


toFactId​

toFactId: string

Defined in: packages/agentos/src/cognition/memory/retrieval/typed-network/types.ts:130

Target fact ID.


weight​

weight: number

Defined in: packages/agentos/src/cognition/memory/retrieval/typed-network/types.ts:134

Edge weight. Composed with decay δ and μ(ℓ) at activation time.