Liking cljdoc? Tell your friends :D

clara.rules

Forward-chaining rules for Clojure. The primary API is in this namespace.

Forward-chaining rules for Clojure. The primary API is in this namespace.
raw docstring

clara.rules.accumulators

A set of common accumulators usable in Clara rules.

A set of common accumulators usable in Clara rules.
raw docstring

clara.rules.dsl

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.
raw docstring

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.

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.
raw docstring

clara.rules.durability.fressian

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.
raw docstring

clara.rules.java

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.
raw docstring

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.

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.
raw docstring

clara.rules.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.
Specification and default implementation of working memory
raw docstring

clara.rules.platform

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.
raw docstring

clara.rules.schema

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.
raw docstring

clara.rules.testfacts

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.
raw docstring

No vars found in this namespace.

clara.tools.inspect

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.
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.
raw docstring

clara.tools.internal.inspect

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.
raw docstring

clara.tools.testing-utils

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.
raw docstring

clara.tools.tracing

Support for tracing state changes in a Clara session.

Support for tracing state changes in a Clara session.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close