@thi.ng/fuzzy 2.1.133 → 2.1.135

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.
Files changed (3) hide show
  1. package/README.md +18 -17
  2. package/package.json +7 -7
  3. package/shapes.d.ts +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/fuzzy](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-fuzzy.svg?1e243dac)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/fuzzy](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-fuzzy.svg?1e243dac)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/fuzzy.svg)](https://www.npmjs.com/package/@thi.ng/fuzzy)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/fuzzy.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Features](#features)
@@ -38,7 +39,7 @@ Fuzzy logic operators & configurable rule inferencing engine.
38
39
  - Fully type checked
39
40
  - Fuzzy set domain shaping & composition functions (incl. negated / inverse)
40
41
  - Various [T-norms &
41
- S-norms](https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/tnorms.ts),
42
+ S-norms](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy/src/tnorms.ts),
42
43
  incl. parametric versions
43
44
  - Rules with multiple inputs/outputs and arbitrary term combinators (i.e.
44
45
  T-norms). Syntax sugar for common `and`/`or` rules.
@@ -49,7 +50,7 @@ Fuzzy logic operators & configurable rule inferencing engine.
49
50
  - Linguistic variable creation and term/set classification for given domain
50
51
  values
51
52
  - Fuzzy set visualization (via
52
- [@thi.ng/fuzzy-viz](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy-viz))
53
+ [@thi.ng/fuzzy-viz](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy-viz))
53
54
 
54
55
  ### References / Further reading
55
56
 
@@ -65,11 +66,11 @@ Fuzzy logic operators & configurable rule inferencing engine.
65
66
 
66
67
  **STABLE** - used in production
67
68
 
68
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bfuzzy%5D+in%3Atitle)
69
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bfuzzy%5D)
69
70
 
70
71
  ## Support packages
71
72
 
72
- - [@thi.ng/fuzzy-viz](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy-viz) - Visualization, instrumentation & introspection utils for [@thi.ng/fuzzy](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy)
73
+ - [@thi.ng/fuzzy-viz](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy-viz) - Visualization, instrumentation & introspection utils for [@thi.ng/fuzzy](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy)
73
74
 
74
75
  ## Installation
75
76
 
@@ -101,8 +102,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.62 KB
101
102
 
102
103
  ## Dependencies
103
104
 
104
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
105
- - [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math)
105
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
106
+ - [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
106
107
 
107
108
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
108
109
 
@@ -111,7 +112,7 @@ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
111
112
  [Generated API docs](https://docs.thi.ng/umbrella/fuzzy/)
112
113
 
113
114
  (See
114
- [tests](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy/test) for
115
+ [tests](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy/test) for
115
116
  more usage examples).
116
117
 
117
118
  ### Fuzzy set generators & combinators
@@ -140,11 +141,11 @@ overlapping) fuzzy sets within a given value domain. The can be used standalone
140
141
  or as inputs/outputs in rules (further below).
141
142
 
142
143
  The
143
- [@thi.ng/fuzzy-viz](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy-viz)
144
+ [@thi.ng/fuzzy-viz](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy-viz)
144
145
  package provides utilities to visualize the fuzzy sets of an L-var.
145
146
 
146
147
  ![fuzzy set visualization of the example
147
- l-var](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/fuzzy/temperature-lvar-2.svg)
148
+ l-var](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/fuzzy/temperature-lvar-2.svg)
148
149
 
149
150
  ```ts
150
151
  import {
@@ -192,7 +193,7 @@ Example taken from Franck Dernoncourt's [Introduction to Fuzzy
192
193
  Logic](https://www.researchgate.net/publication/267041266_Introduction_to_fuzzy_logic):
193
194
 
194
195
  ![fuzzy set illustration from F.Dernoncourt's
195
- tutorial](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/fuzzy/fuzzy-matrix-dernoncourt.png)
196
+ tutorial](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/fuzzy/fuzzy-matrix-dernoncourt.png)
196
197
 
197
198
  ```ts
198
199
  import {
@@ -263,7 +264,7 @@ Note: The results are slightly different than those in the textbook example, due
263
264
  to different `gaussian` fuzzy sets used for the `service` L-var.
264
265
 
265
266
  Using `instrumentStrategy()` from the upcoming
266
- [@thi.ng/fuzzy-viz](https://github.com/thi-ng/umbrella/tree/develop/packages/fuzzy-viz)
267
+ [@thi.ng/fuzzy-viz](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy-viz)
267
268
  package, we can also visualize the final, transformed fuzzy sets used to compute
268
269
  crisp results and highlight the position of the crisp result value.
269
270
 
@@ -355,7 +356,7 @@ Just for illustration purposes (and using a different example), SVG output can
355
356
  be obtained by merely switching to another instrumentation function (here
356
357
  `fuzzySetToSvg()`):
357
358
 
358
- ![fuzzySetToSvg() visualization example](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/fuzzy/strategy-viz.svg)
359
+ ![fuzzySetToSvg() visualization example](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/fuzzy/strategy-viz.svg)
359
360
 
360
361
  ## Authors
361
362
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/fuzzy",
3
- "version": "2.1.133",
3
+ "version": "2.1.135",
4
4
  "description": "Fuzzy logic operators & configurable rule inferencing engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/fuzzy"
13
13
  },
14
14
  "homepage": "https://thi.ng/fuzzy",
@@ -40,12 +40,12 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/math": "^5.15.6"
43
+ "@thi.ng/api": "^8.12.19",
44
+ "@thi.ng/math": "^5.15.8"
45
45
  },
46
46
  "devDependencies": {
47
- "esbuild": "^0.27.2",
48
- "typedoc": "^0.28.16",
47
+ "esbuild": "^0.28.0",
48
+ "typedoc": "^0.28.18",
49
49
  "typescript": "^5.9.3"
50
50
  },
51
51
  "keywords": [
@@ -105,5 +105,5 @@
105
105
  "thi.ng": {
106
106
  "year": 2020
107
107
  },
108
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
108
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
109
109
  }
package/shapes.d.ts CHANGED
@@ -122,7 +122,7 @@ export declare const invAlphaCut: (fn: FuzzyFn, alpha?: number) => FuzzyFn;
122
122
  *
123
123
  * - [Interactive graph](https://www.desmos.com/calculator/pnq6kqzfb5)
124
124
  * - https://en.wikipedia.org/wiki/T-norm
125
- * - https://github.com/thi-ng/umbrella/blob/develop/packages/fuzzy/src/tnorms.ts
125
+ * - https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/fuzzy/src/tnorms.ts
126
126
  *
127
127
  * @example
128
128
  * ```ts