Options
All
  • Public
  • Public/Protected
  • All
Menu

计算路径给定的IAstarGraph和开始/目标位置

Hierarchy

  • AStarPathfinder

Index

Methods

Static Private getKey

  • getKey<T>(map: Map<T, T>, compareKey: T): any

Static Private hasKey

  • hasKey<T>(map: Map<T, number>, compareKey: T): boolean

Static recontructPath

  • recontructPath<T>(cameFrom: Map<T, T>, start: T, goal: T): T[]

Static search

  • search<T>(graph: IAstarGraph<T>, start: T, goal: T): T[]

Generated using TypeDoc