Skip to content

Commit

Permalink
refactor(adjacency): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 10, 2021
1 parent 6b3dbab commit ee847e0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/adjacency/src/bfs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BitField } from "@thi.ng/bitfield";
import { DCons } from "@thi.ng/dcons";
import { BitField } from "@thi.ng/bitfield/bitfield";
import { DCons } from "@thi.ng/dcons/dcons";
import type { CostFn, IGraph } from "./api";

export class BFS {
Expand Down
2 changes: 1 addition & 1 deletion packages/adjacency/src/binary.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BitMatrix } from "@thi.ng/bitfield";
import { BitMatrix } from "@thi.ng/bitfield/bitmatrix";
import type { DegreeType, Edge, IGraph } from "./api";
import { into, invert, toDot } from "./utils";

Expand Down
4 changes: 2 additions & 2 deletions packages/adjacency/src/dfs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BitField } from "@thi.ng/bitfield";
import { DCons } from "@thi.ng/dcons";
import { BitField } from "@thi.ng/bitfield/bitfield";
import { DCons } from "@thi.ng/dcons/dcons";
import type { IGraph } from "./api";

export class DFS {
Expand Down
2 changes: 1 addition & 1 deletion packages/adjacency/src/disjoint-set.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fillRange } from "@thi.ng/arrays";
import { fillRange } from "@thi.ng/arrays/fill-range";

/**
* Typed array based Disjoint Set implementation with quick union and
Expand Down
2 changes: 1 addition & 1 deletion packages/adjacency/src/list.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DCons } from "@thi.ng/dcons";
import { DCons } from "@thi.ng/dcons/dcons";
import type { DegreeType, Edge, IGraph } from "./api";
import { into, invert, toDot } from "./utils";

Expand Down
2 changes: 1 addition & 1 deletion packages/adjacency/src/mst.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Fn } from "@thi.ng/api";
import { sortByCachedKey } from "@thi.ng/arrays";
import { sortByCachedKey } from "@thi.ng/arrays/sort-cached";
import { DisjointSet } from "./disjoint-set";

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/adjacency/src/sparse.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ensureIndex2 } from "@thi.ng/errors";
import { CSR } from "@thi.ng/sparse";
import { ensureIndex2 } from "@thi.ng/errors/out-of-bounds";
import { CSR } from "@thi.ng/sparse/csr";
import type { DegreeType, Edge, IGraph } from "./api";
import { into, invert, toDot } from "./utils";

Expand Down

0 comments on commit ee847e0

Please sign in to comment.