Ruler.Engine.ActivationNode (Ruler v0.1.0) View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

build(engine, rule, conditions)

View Source

Specs

build(engine(), rule(), [Ruler.Condition.t()]) :: {engine(), ref()}

Specs

build_all(engine(), rule()) :: {engine(), [ref()]}

Specs

fetch!(state(), ref()) :: node_data()
Link to this function

left_activate(engine, ref, partial_activation, fact, op)

View Source

Specs

left_activate(
  engine(),
  ref(),
  partial_activation(),
  Ruler.Fact.t(),
  :add | :remove
) :: engine()