Skip to content

Commit 1447b4b

Browse files
committed
fix
1 parent 8f0d03a commit 1447b4b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/core/src/edge-path-bundling/dijkstra/cpu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Edge } from '../../Edge';
22
import type { Graph } from '../../Graph';
33
import { dijkstra } from '../../shortest-path/dijkstra/cpu';
4-
import { greedySpanner } from '../../spanner/greedy';
4+
import { greedySpanner } from '../../spanner/greedy/cpu';
55

66
export type EdgePathBundlingParams = {
77
spanner?: Graph;

packages/core/src/edge-path-bundling/dijkstra/gpu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Edge } from '../../Edge';
22
import type { Graph } from '../../Graph';
33
import { dijkstraGPU } from '../../shortest-path/dijkstra/gpu';
4-
import { greedySpanner } from '../../spanner/greedy';
4+
import { greedySpanner } from '../../spanner/greedy/cpu';
55

66
export type EdgePathBundlinGPUgParams = {
77
device: GPUDevice;

packages/core/src/spanner/greedy/cpu.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Edge } from '../Edge';
2-
import { Graph } from '../Graph';
3-
import { dijkstra } from '../shortest-path/dijkstra/cpu';
1+
import { Edge } from '../../Edge';
2+
import { Graph } from '../../Graph';
3+
import { dijkstra } from '../../shortest-path/dijkstra/cpu';
44

55
export function greedySpanner(graph: Graph, stretchFactor = 2): Graph {
66
console.time('Greedy Spanner');

0 commit comments

Comments
 (0)