1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! AI_Kit aims to be a single dependency for various clssic AI algorithms.
//!
//! Core project goals are:
//!
//! * convenient and ergonomic interfaces to various algorithms by building around traits.
//!
//! * only build what you need through the use of feature flags
//!
//! * performance
//!
//! * easy to understand implementations
//!
//! All of the algorithms (documented below) operate on several core traits, `BindingsValue`, `Unify`, `Operation`.
//!

// Needed for tests
#![recursion_limit="128"]
#![deny(missing_debug_implementations, missing_copy_implementations,
        trivial_casts, trivial_numeric_casts,
        unsafe_code,
        unstable_features,
        unused_import_braces)]

extern crate itertools;
extern crate serde;
#[allow(unused_imports)]
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate serde_derive;
extern crate uuid;

#[cfg(test)]
#[macro_use]
mod test_utils;
#[cfg(feature = "with-constraint")]
pub mod constraints;
#[macro_use]
pub mod core;
#[cfg(feature = "with-datum")]
pub mod datum;
#[cfg(feature = "with-forward-inference")]
pub mod infer;
#[cfg(feature = "with-pedigree")]
pub mod pedigree;
#[cfg(feature = "with-planner")]
pub mod planner;
#[cfg(feature = "with-rule")]
pub mod rule;
pub mod utils;