1pub mod membership;
2
3pub mod aggregate;
5pub mod antecedent;
6pub 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"))]
21compile_error!("Enable only one of 'f32' or 'f64'.");
22
23#[cfg(feature = "f32")]
24pub type Float = f32;
25
26#[cfg(not(feature = "f32"))] pub type Float = f64;
28
29#[cfg(feature = "serde")]
30pub use serde::{Deserialize, Serialize};