Class FibonacciHeapNode<E>

Type Parameters

  • E

Constructors

Constructors

  • The constructor function initializes an object with an element and a degree, and sets the marked property to false.

    Type Parameters

    • E

    Parameters

    • element: E

      The "element" parameter represents the value or data that will be stored in the node of a data structure. It can be any type of data, such as a number, string, object, or even another data structure.

    • Optional degree: number = 0

      The degree parameter represents the degree of the element in a data structure called a Fibonacci heap. The degree of a node is the number of children it has. By default, the degree is set to 0 when a new node is created.

    Returns FibonacciHeapNode<E>

Generated using TypeDoc