NavSearchState

For internal use: one search's per-cell state, kept by the grid and reused by later searches. Indexes are into the grid's padded cell array.

Properties

  • gCost (Array.<float>)
  • parentOf (Array.<integer>)
  • mark (Array.<integer>) — A cell is open in this search when its mark is stamp, closed when it's stamp + 1
  • stamp (integer)
  • heapCells (Array.<integer>)
  • heapF (Array.<float>)