tnorms
T-norm and t-conorm families.
tnorms provides common fuzzy-logic aggregation families and fold helpers for
multi-way conjunction and disjunction over values in [0, 1].
Dual-licensed under MIT or Apache-2.0.
[]
= "0.1.1"
use ;
let or_degree = tconorm;
let and_degree = tnorm;
assert!;
assert!;
Families
Named constants:
| Constant | T-norm | T-conorm |
|---|---|---|
GODEL |
min(a, b) |
max(a, b) |
PRODUCT |
a * b |
a + b - a * b |
LUKASIEWICZ |
max(0, a + b - 1) |
min(1, a + b) |
| Family | T-conorm behavior |
|---|---|
Maximum |
Hard OR |
Probabilistic |
Probabilistic sum |
Bounded |
Lukasiewicz bounded sum |
Einstein |
Smooth rational OR |
Hamacher |
Aggressive rational OR |
Yager |
Lp-style family |
Frank |
Interpolating family |
Dombi |
Power-based family |