Class MapEdge<T>

Type Parameters

  • T = any

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • The constructor function initializes a new instance of a class with the given source, destination, weight, and value.

    Type Parameters

    • T = any

    Parameters

    • src: VertexId

      The src parameter is the source vertex ID. It represents the starting point of an edge in a graph.

    • dest: VertexId

      The dest parameter is the identifier of the destination vertex for an edge.

    • Optional weight: number

      The weight parameter is an optional number that represents the weight of the edge.

    • Optional val: T

      The "val" parameter is an optional parameter of type T. It is used to store additional information or data associated with the edge.

    Returns MapEdge<T>

Properties

_hashCode: string

Accessors

Methods

Generated using TypeDoc