Ruler.State.BetaMemory (Ruler v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

parent_ref() :: Ruler.State.JoinNode.ref()

Specs

partial_activation() :: [Ruler.Fact.t()]

Specs

ref() :: {:beta_memory_ref, Ruler.State.RefMap.ref()}

Specs

t() :: %Ruler.State.BetaMemory{
  child_refs: MapSet.t(Ruler.State.JoinNode.ref()),
  parent_ref: parent_ref() | nil,
  partial_activations: MapSet.t(partial_activation())
}

Link to this section Functions

Specs

new(parent_ref()) :: t()

Specs

top_node_ref() :: ref()