Class Edge

This class represents an edge within the Dijkstra graph. These connect all of the waypoints for the graph.

Since

2.0.0

Hierarchy

  • Edge

Constructors

  • Parameters

    • sourceId: string
    • destinationId: string
    • weight: number

    Returns Edge

Methods

  • Returns string

  • Returns string

  • Returns number

  • Returns string

  • Factory method to create an Edge using Waypioint instaces

    Parameters

    • source: Waypoint

      The source or origin waypoint

    • destination: Waypoint

      The target point

    • weight: number

      The wheight

    Returns Edge

    a new instance of the Edge

Generated using TypeDoc