Class TreeMultisetNode<V, NEIGHBOR>

Type Parameters

Hierarchy

Implements

Constructors

Properties

Accessors

Constructors

  • The constructor function initializes a BinaryTreeNode object with an id, value, and count.

    Type Parameters

    Parameters

    • id: number

      The id parameter is of type BinaryTreeNodeId and represents the unique identifier of the binary tree node.

    • Optional val: V

      The val parameter is an optional parameter of type V. It represents the value of the binary tree node. If no value is provided, it will be undefined.

    • Optional count: number = 1

      The count parameter is a number that represents the number of times a particular value occurs in a binary tree node. It has a default value of 1, which means that if no value is provided for the count parameter when creating a new instance of the BinaryTreeNode class,

    Returns TreeMultisetNode<V, NEIGHBOR>

Properties

_count: number

Accessors

Generated using TypeDoc