Methods
Static Private getKey
- getKey<T>(map: Map<T, T>, compareKey: T): any
-
Type parameters
Parameters
-
map: Map<T, T>
-
compareKey: T
Returns any
Static Private hasKey
- hasKey<T>(map: Map<T, number>, compareKey: T): boolean
-
Type parameters
Parameters
-
map: Map<T, number>
-
compareKey: T
Returns boolean
Static recontructPath
- recontructPath<T>(cameFrom: Map<T, T>, start: T, goal: T): T[]
-
Type parameters
Parameters
-
cameFrom: Map<T, T>
-
start: T
-
goal: T
Returns T[]
Static search
-
Type parameters
Parameters
Returns T[]