Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PathfindingGraph

Index

Constructors

constructor

Methods

addEdge

  • addEdge(from: string, to: string, through: string, distance: number, duration: number, cost: number): void
  • Parameters

    • from: string
    • to: string
    • through: string
    • distance: number
    • duration: number
    • cost: number

    Returns void

getAdjacencyList

  • getAdjacencyList(): IEdge[][]

getBreakPoint

  • getBreakPoint(position: number): function
  • Parameters

    • position: number

    Returns function

      • (on: string): Promise<void>
      • Parameters

        • on: string

        Returns Promise<void>

getLabel

  • getLabel(position: number): string

getNodeIndex

  • getNodeIndex(label: string): number

getNodeMap

  • getNodeMap(): Map<string, number>

getReverseAdjacencyList

  • getReverseAdjacencyList(): IEdge[][]

removeBreakPoint

  • removeBreakPoint(on: string): void

setBreakPoint

  • setBreakPoint(on: string, callback: function): void
  • Parameters

    • on: string
    • callback: function
        • (on: string): Promise<void>
        • Parameters

          • on: string

          Returns Promise<void>

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc