tiny-essentials 1.25.5 → 1.25.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog/1/25/5.md +5 -0
- package/changelog/1/25/6.md +7 -0
- package/dist/v1/TinyEssentials.min.js +1 -1
- package/dist/v1/TinyMaInSys.min.js +1 -1
- package/dist/v1/libs/TinyMamdaniInferenceSystem.cjs +25 -9
- package/dist/v1/libs/TinyMamdaniInferenceSystem.d.mts +7 -3
- package/dist/v1/libs/TinyMamdaniInferenceSystem.mjs +26 -11
- package/docs/v1/libs/TinyMamdaniInferenceSystem.md +6 -4
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
## ✨ New Features
|
|
2
|
+
|
|
3
|
+
* **🧱 Mamdani Architecture:** Fully decoupled Inference Engine using `Map` structures to dynamically handle an infinite number of linguistic variables and fuzzy sets.
|
|
4
|
+
|
|
5
|
+
**Full Changelog**: https://github.com/Tiny-Essentials/Tiny-Essentials/compare/1.25.4...1.25.5
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
### ✨ Key Changes
|
|
2
|
+
* **Early-Exit Optimization:** Added the `optimize` flag to the global `trapezoid` utility and the `FuzzySet` class.
|
|
3
|
+
* **How it works:** When enabled (`true`), the engine uses short-circuit logic. It immediately returns `0` or `1` if the input value falls completely outside the outer bounds or entirely within the top plateau, safely skipping unnecessary slope calculations. The parameter defaults to `false`.
|
|
4
|
+
|
|
5
|
+
To take advantage of this performance boost, simply update your `FuzzySet` instantiations by passing `true` as the final argument: `new FuzzySet("Name", a, b, c, d, true)`.
|
|
6
|
+
|
|
7
|
+
**Full Changelog**: https://github.com/Tiny-Essentials/Tiny-Essentials/compare/1.25.4...1.25.6
|