Options
All
  • Public
  • Public/Protected
  • All
Menu
abstract

Represents a shortest path finder between two cells in a two dimensional array.

Type parameters

  • T

    Any type of data.

Hierarchy

Index

Constructors

Methods

Constructors

  • Type parameters

    • T

    Parameters

    • grid: T[][]

      The grid for which to compute the path finding.

    • topology: Topology

      The topology of the grid.

    • blockCallbackFn: Path.BlockCallbackFn<T>

      A callback function used to determine if a cell is a blocking one.

    Returns Path<T>

Methods

  • init(): void
  • Initializes the grid used to compute a path.

    A mandatory step before calling the search method.

    Returns void

Generated using TypeDoc