Graph:

getCost(node: number, neighbor: number): number

getPath(from: number, to: number): number[]