1pub mod membership;
2
3pub mod aggregate;
5pub mod antecedent;
6pub mod builder;
7pub mod defuzz;
8pub mod error;
9pub mod mamdani;
10pub mod ops;
11pub mod rulespace;
12pub mod sampler;
13pub mod system;
14pub mod term;
15pub mod variable;
16
17pub mod prelude;
18
19#[cfg(all(feature = "f32", feature = "f64"))]
23compile_error!("Enable only one of 'f32' or 'f64'.");
24
25#[cfg(feature = "f32")]
26pub type Float = f32;
27
28#[cfg(not(feature = "f32"))] pub type Float = f64;
30
31#[cfg(feature = "serde")]
32pub use serde::{Deserialize, Serialize};