Skip to content

spatial-monorepo


spatial-monorepo / wayfinding/src / AStarResult

Interface: AStarResult

Defined in: packages/wayfinding/src/astar.ts:5

Result of A* search: ordered node IDs from origin to destination (inclusive).

Properties

path

path: string[]

Defined in: packages/wayfinding/src/astar.ts:6


totalCost

totalCost: number

Defined in: packages/wayfinding/src/astar.ts:8

Total cost (seconds) along the path

Released under commercial licensing.