Class AbstractVertex<V>Abstract

Type Parameters

  • V = any

Hierarchy

Constructors

Properties

Accessors

Constructors

  • The function is a protected constructor that takes an id and an optional value as parameters.

    Type Parameters

    • V = any

    Parameters

    • id: VertexId

      The id parameter is of type VertexId and represents the identifier of the vertex. It is used to uniquely identify the vertex object.

    • Optional val: V

      The parameter "val" is an optional parameter of type V. It is used to assign a value to the vertex. If no value is provided, it will be set to undefined.

    Returns AbstractVertex<V>

Properties

_val: undefined | V

Accessors

Generated using TypeDoc