@thi.ng/adjacency 3.0.26 → 3.0.27

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.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
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/bfs.d.ts CHANGED
@@ -10,6 +10,7 @@ import type { CostFn, IGraph } from "./api.js";
10
10
  * Also see {@link bfs} for ad hoc queries.
11
11
  *
12
12
  * Reference:
13
+ *
13
14
  * - https://en.wikipedia.org/wiki/Breadth-first_search
14
15
  * - https://algs4.cs.princeton.edu/40graphs/
15
16
  */
@@ -37,6 +38,7 @@ export declare class BFS {
37
38
  * topological distance.
38
39
  *
39
40
  * Reference:
41
+ *
40
42
  * - https://en.wikipedia.org/wiki/Breadth-first_search
41
43
  * - https://algs4.cs.princeton.edu/40graphs/
42
44
  *
@@ -17,7 +17,8 @@ import type { CostFn, IGraph } from "./api.js";
17
17
  * i.e. ~8MB for a graph with 1000 nodes. If possible, use {@link BFS} to
18
18
  * perform individual shortest-path queries (rather than this global approach).
19
19
  *
20
- * Reference:
20
+ * References:
21
+ *
21
22
  * - https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm
22
23
  */
23
24
  export declare class FloydWarshall {
package/mst.d.ts CHANGED
@@ -15,10 +15,11 @@ import type { Fn } from "@thi.ng/api";
15
15
  * criteria. The result edges will be in ascending order, based on the supplied
16
16
  * cost function. The cost function is called once for each edge and return
17
17
  * values will be cached prior to sorting (see
18
- * [`sortByCachedKey()`](https://docs.thi.ng/umbrella/arrays/functions/sortByCachedKey.html)
18
+ * [`sortByCachedKey`](https://docs.thi.ng/umbrella/arrays/functions/sortByCachedKey.html)
19
19
  * for details).
20
20
  *
21
21
  * References:
22
+ *
22
23
  * - https://en.wikipedia.org/wiki/Kruskal%27s_algorithm
23
24
  *
24
25
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/adjacency",
3
- "version": "3.0.26",
3
+ "version": "3.0.27",
4
4
  "description": "Sparse & bitwise adjacency matrices, lists and selected traversal algorithms for directed & undirected graphs",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -42,18 +42,18 @@
42
42
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
43
43
  },
44
44
  "dependencies": {
45
- "@thi.ng/api": "^8.11.19",
46
- "@thi.ng/arrays": "^2.10.14",
47
- "@thi.ng/bitfield": "^2.3.64",
48
- "@thi.ng/dcons": "^3.2.141",
49
- "@thi.ng/disjoint-set": "^1.1.12",
50
- "@thi.ng/errors": "^2.5.25",
51
- "@thi.ng/sparse": "^1.0.6"
45
+ "@thi.ng/api": "^8.11.20",
46
+ "@thi.ng/arrays": "^2.10.15",
47
+ "@thi.ng/bitfield": "^2.3.65",
48
+ "@thi.ng/dcons": "^3.2.142",
49
+ "@thi.ng/disjoint-set": "^1.1.13",
50
+ "@thi.ng/errors": "^2.5.26",
51
+ "@thi.ng/sparse": "^1.0.7"
52
52
  },
53
53
  "devDependencies": {
54
- "@thi.ng/vectors": "^7.12.19",
55
- "esbuild": "^0.24.2",
56
- "typedoc": "^0.27.6",
54
+ "@thi.ng/vectors": "^7.12.20",
55
+ "esbuild": "^0.25.0",
56
+ "typedoc": "^0.27.7",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "keywords": [
@@ -125,5 +125,5 @@
125
125
  ],
126
126
  "year": 2018
127
127
  },
128
- "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
128
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
129
129
  }
package/sparse.d.ts CHANGED
@@ -31,6 +31,7 @@ export declare class AdjacencyMatrix extends CSR implements IGraph<number> {
31
31
  *
32
32
  * @remarks
33
33
  * References:
34
+ *
34
35
  * - https://en.wikipedia.org/wiki/Laplacian_matrix
35
36
  * - https://en.wikipedia.org/wiki/Discrete_Laplace_operator
36
37
  *
package/sparse.js CHANGED
@@ -104,6 +104,7 @@ class AdjacencyMatrix extends CSR {
104
104
  *
105
105
  * @remarks
106
106
  * References:
107
+ *
107
108
  * - https://en.wikipedia.org/wiki/Laplacian_matrix
108
109
  * - https://en.wikipedia.org/wiki/Discrete_Laplace_operator
109
110
  *