effect-io-ai

Package: effect
Module: Graph

Graph.AstarConfig

Configuration for A* algorithm.

Signature

export interface AstarConfig<E, N> {
  source: NodeIndex
  target: NodeIndex
  cost: (edgeData: E) => number
  heuristic: (sourceNodeData: N, targetNodeData: N) => number
}

Source

Since v3.18.0