Direct use of this namespace is deprecated. Users can now simply use the defrule, defquery, and defsession macros in the clara.rules namespace. Users can simply pull those macros in like any other, for instance:
(:require [clara.rules :refer [insert fire-rules query insert!] :refer-macros [defrule defsession defquery]])
Direct use of this namespace is deprecated. Users can now simply use the defrule, defquery, and defsession macros in the clara.rules namespace. Users can simply pull those macros in like any other, for instance: (:require [clara.rules :refer [insert fire-rules query insert!] :refer-macros [defrule defsession defquery]])
Forward-chaining rules for Clojure. The primary API is in this namespace.
Forward-chaining rules for Clojure. The primary API is in this namespace.
A set of common accumulators usable in Clara rules.
A set of common accumulators usable in Clara rules.
This namespace is for internal use and may move in the future. This is the Clara rules compiler, translating raw data structures into compiled versions and functions. Most users should use only the clara.rules namespace.
This namespace is for internal use and may move in the future. This is the Clara rules compiler, translating raw data structures into compiled versions and functions. Most users should use only the clara.rules namespace.
Implementation of the defrule-style DSL for Clara. Most users should simply use the clara.rules namespace.
Implementation of the defrule-style DSL for Clara. Most users should simply use the clara.rules namespace.
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.
See https://github.com/cerner/clara-rules/issues/198 for more discussion on this.
Note! This is still an EXPERIMENTAL namespace. This may change non-passively without warning. Any session or rulebase serialized in one version of Clara is not guaranteed to deserialize successfully against another version of Clara.
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. See https://github.com/cerner/clara-rules/issues/198 for more discussion on this. Note! This is still an EXPERIMENTAL namespace. This may change non-passively without warning. Any session or rulebase serialized in one version of Clara is not guaranteed to deserialize successfully against another version of Clara.
A default Fressian-based implementation of d/ISessionSerializer.
Note! Currently this only supports the clara.rules.memory.PersistentLocalMemory implementation of memory.
A default Fressian-based implementation of d/ISessionSerializer. Note! Currently this only supports the clara.rules.memory.PersistentLocalMemory implementation of memory.
This namespace is for internal use and may move in the future. Most users should use only the clara.rules namespace.
This namespace is for internal use and may move in the future. Most users should use only the clara.rules namespace.
This namespace is for internal use and may move in the future. Java support. Users should use the Java API, or the clara.rules namespace from Clojure.
This namespace is for internal use and may move in the future. Java support. Users should use the Java API, or the clara.rules namespace from Clojure.
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.
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.
This namespace is for internal use and may move in the future. Specification and default implementation of working memory
This namespace is for internal use and may move in the future. Specification and default implementation of working memory
This namespace is for internal use and may move in the future. Platform unified code Clojure/ClojureScript.
This namespace is for internal use and may move in the future. Platform unified code Clojure/ClojureScript.
Schema definition of Clara data structures using Prismatic's Schema library. This includes structures for rules and queries, as well as the schema for the underlying Rete network itself. This can be used by tools or other libraries working with rules.
Schema definition of Clara data structures using Prismatic's Schema library. This includes structures for rules and queries, as well as the schema for the underlying Rete network itself. This can be used by tools or other libraries working with rules.
This namespace exists primary for testing purposes, working around the fact that we cannot AOT compile test classes. This should be moved to the tests once a workaround for this is solved.
This namespace exists primary for testing purposes, working around the fact that we cannot AOT compile test classes. This should be moved to the tests once a workaround for this is solved.
Tooling to inspect a rule session. The two major methods here are:
Tooling to inspect a rule session. The two major methods here are: * inspect, which returns a data structure describing the session that can be used by tooling. * explain-activations, which uses inspect and prints a human-readable description covering why each rule activation or query match occurred.
Internal implementation details of session inspection. Nothing in this namespace should be directly referenced by callers outside of the clara-rules project.
Internal implementation details of session inspection. Nothing in this namespace should be directly referenced by callers outside of the clara-rules project.
Internal utilities for testing clara-rules and derivative projects. These should be considered experimental right now from the perspective of consumers of clara-rules, although it is possible that this namespace will be made part of the public API once its functionality has proven robust and reliable. The focus, however, is functionality needed to test the rules engine itself.
Internal utilities for testing clara-rules and derivative projects. These should be considered experimental right now from the perspective of consumers of clara-rules, although it is possible that this namespace will be made part of the public API once its functionality has proven robust and reliable. The focus, however, is functionality needed to test the rules engine itself.
Support for tracing state changes in a Clara session.
Support for tracing state changes in a Clara session.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close