Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Aug 25, 2024
1 parent 2be82f0 commit 1bf1726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/solvers/cps/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./breadthFirstExplore.js"
export * from "./Path.js"
export * from "./Searching.js"
export * from "./Space.js"
export * from "./span.js"
4 changes: 1 addition & 3 deletions src/solvers/cps/span.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { ramify } from "./Path.js"
import { type Searching } from "./Searching.js"

export function breadthFirstExplore<Node, Edge>(
searching: Searching<Node, Edge>,
): void {
export function span<Node, Edge>(searching: Searching<Node, Edge>): void {
const path = searching.queue.shift()
if (path === undefined) return

Expand Down

0 comments on commit 1bf1726

Please sign in to comment.