@thi.ng/cellular 0.2.23 → 0.2.25

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/1d.d.ts CHANGED
@@ -162,7 +162,9 @@ export declare class MultiCA1D implements IClear {
162
162
  setPattern(target: Target, width: number, stride: number, val?: number, inc?: number, offset?: number): this;
163
163
  /**
164
164
  * Sets cells in current generation array to a random state using given
165
- * `probability` and optional PRNG ({@link @thi.ng/random#IRandom} instance).
165
+ * `probability` and optional PRNG
166
+ * ([`IRandom`](https://docs.thi.ng/umbrella/random/interfaces/IRandom.html)
167
+ * instance).
166
168
  *
167
169
  * @param target
168
170
  * @param prob
@@ -217,7 +219,9 @@ export declare class MultiCA1D implements IClear {
217
219
  }
218
220
  /**
219
221
  * Creates a random rule ID for given `kernelSize` and using optionally provided
220
- * `rnd` {@link @thi.ng/random#IRandom} instance.
222
+ * `rnd`
223
+ * [`IRandom`](https://docs.thi.ng/umbrella/random/interfaces/IRandom.html)
224
+ * instance.
221
225
  *
222
226
  * @param kernelSize
223
227
  * @param rnd
package/1d.js CHANGED
@@ -200,7 +200,9 @@ export class MultiCA1D {
200
200
  }
201
201
  /**
202
202
  * Sets cells in current generation array to a random state using given
203
- * `probability` and optional PRNG ({@link @thi.ng/random#IRandom} instance).
203
+ * `probability` and optional PRNG
204
+ * ([`IRandom`](https://docs.thi.ng/umbrella/random/interfaces/IRandom.html)
205
+ * instance).
204
206
  *
205
207
  * @param target
206
208
  * @param prob
@@ -361,7 +363,9 @@ const __rotate = (buf, dir) => {
361
363
  };
362
364
  /**
363
365
  * Creates a random rule ID for given `kernelSize` and using optionally provided
364
- * `rnd` {@link @thi.ng/random#IRandom} instance.
366
+ * `rnd`
367
+ * [`IRandom`](https://docs.thi.ng/umbrella/random/interfaces/IRandom.html)
368
+ * instance.
365
369
  *
366
370
  * @param kernelSize
367
371
  * @param rnd
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-22T21:47:07Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -31,7 +31,7 @@ This project is part of the
31
31
 
32
32
  ![Custom cellular automata w/ 7-neighborhood & 128 states](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/cellular/hero.png)
33
33
 
34
- Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.
34
+ Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc..
35
35
 
36
36
  The generic implementation provided by this package enables many novel and
37
37
  unusual CA setups as well as coevolution of multiple CAs within a shared
package/api.d.ts CHANGED
@@ -104,7 +104,8 @@ export interface UpdateImageOpts1D {
104
104
  probabilistic: boolean;
105
105
  /**
106
106
  * PRNG instance to use for perturbance. Default:
107
- * {@link @thi.ng/random#SYSTEM} aka `Math.random`.
107
+ * [`SYSTEM`](https://docs.thi.ng/umbrella/random/variables/SYSTEM.html) aka
108
+ * `Math.random`.
108
109
  */
109
110
  rnd: IRandom;
110
111
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cellular",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "description": "Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,15 +34,15 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.0",
38
- "@thi.ng/checks": "^3.3.5",
39
- "@thi.ng/errors": "^2.2.6",
40
- "@thi.ng/random": "^3.3.18",
41
- "@thi.ng/transducers": "^8.3.26"
37
+ "@thi.ng/api": "^8.6.2",
38
+ "@thi.ng/checks": "^3.3.6",
39
+ "@thi.ng/errors": "^2.2.7",
40
+ "@thi.ng/random": "^3.3.20",
41
+ "@thi.ng/transducers": "^8.3.28"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.33.7",
45
- "@thi.ng/testament": "^0.3.7",
45
+ "@thi.ng/testament": "^0.3.8",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
48
  "typedoc": "^0.23.22",
@@ -92,5 +92,5 @@
92
92
  ],
93
93
  "year": 2022
94
94
  },
95
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
95
+ "gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
96
96
  }