Grid:

A grid is a graph consisting of connected grid cells

getCost(a: number, b: number): number

getPath(start: number, goal: number): number[]