Clara-rules 0.16.0
Clara Rules Engine
Namespaces
clara.rules
Forward-chaining rules for Clojure. The primary API is in this namespace.
Public variables and functions:
clara.rules.accumulators
A set of common accumulators usable in Clara rules.
Public variables and functions:
clara.rules.dsl
Implementation of the defrule-style DSL for Clara. Most users should simply use the clara.rules namespace.
Public variables and functions:
clara.rules.durability
Support for persisting Clara sessions to an external store. Provides the ability to store and restore an entire session working memory state. The restored session is able to have additional insert, retract, query, and fire rule calls performed immediately after.
Public variables and functions:
- ->InternalMemIdx
- ->MemIdx
- add-accumulator
- add-alpha-fn
- add-join-filter-fn
- add-rhs-fn
- add-test-fn
- assemble-restored-session
- cache-node
- clj-record-fact->idx
- clj-record-holder
- clj-record-holder-add-fact!
- clj-record-holder-add-fact-idx!
- clj-record-idx->fact
- compile-expr-fn
- create-map-entry
- deserialize-rulebase
- deserialize-session-state
- find-index
- find-internal-idx
- find-mem-idx
- index-accum-memory
- index-activation-map
- index-alpha-memory
- index-beta-memory
- index-production-memory
- indexed-session-memory-state
- ISessionSerializer
- IWorkingMemorySerializer
- map->InternalMemIdx
- map->MemIdx
- mem-facts
- mem-internal
- node-id->node
- node-id->node-cache
- opts->get-alphas-fn
- rulebase->rulebase-with-opts
- seq->sorted-map
- seq->sorted-set
- serialize-rulebase
- serialize-session-state
- sorted-comparator-name
clara.rules.listener
Event listeners for analyzing the flow through Clara. This is for primarily for use by tooling, but advanced users may use this to analyze sessions.
clara.tools.inspect
Tooling to inspect a rule session. The two major methods here are:
Public variables and functions:
clara.tools.tracing
Support for tracing state changes in a Clara session.
Public variables and functions: