@thi.ng/adjacency 2.5.30 → 2.5.32

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**: 2024-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
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/mst.d.ts CHANGED
@@ -23,6 +23,9 @@ import type { Fn } from "@thi.ng/api";
23
23
  *
24
24
  * @example
25
25
  * ```ts
26
+ * import { mst } from "@thi.ng/adjacency";
27
+ * import { distSq } from "@thi.ng/vectors";
28
+ *
26
29
  * // 2D vectors
27
30
  * verts = [[0,0], [0,1], [1,1], [1,2], [4,2]]
28
31
  *
@@ -33,8 +36,8 @@ import type { Fn } from "@thi.ng/api";
33
36
  * edges,
34
37
  * // max vertex ID
35
38
  * 4,
36
- * // cost function (cartesian distance, from @thi.ng/vectors pkg)
37
- * ([a,b]) => distSq(verts[a], verts[b]),
39
+ * // cost function (cartesian distance)
40
+ * ([a, b]) => distSq(verts[a], verts[b]),
38
41
  * // edge vertex IDs
39
42
  * (e) => e
40
43
  * )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/adjacency",
3
- "version": "2.5.30",
3
+ "version": "2.5.32",
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",
@@ -38,16 +38,16 @@
38
38
  "test": "bun test"
39
39
  },
40
40
  "dependencies": {
41
- "@thi.ng/api": "^8.9.25",
42
- "@thi.ng/arrays": "^2.8.2",
43
- "@thi.ng/bitfield": "^2.3.24",
44
- "@thi.ng/dcons": "^3.2.94",
41
+ "@thi.ng/api": "^8.9.26",
42
+ "@thi.ng/arrays": "^2.8.3",
43
+ "@thi.ng/bitfield": "^2.3.25",
44
+ "@thi.ng/dcons": "^3.2.96",
45
45
  "@thi.ng/errors": "^2.4.18",
46
- "@thi.ng/sparse": "^0.3.99"
46
+ "@thi.ng/sparse": "^0.3.101"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.40.1",
50
- "@thi.ng/vectors": "^7.10.10",
50
+ "@thi.ng/vectors": "^7.10.12",
51
51
  "esbuild": "^0.20.0",
52
52
  "rimraf": "^5.0.5",
53
53
  "typedoc": "^0.25.7",
@@ -125,5 +125,5 @@
125
125
  ],
126
126
  "year": 2018
127
127
  },
128
- "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
128
+ "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
129
129
  }