Table of Contents

Method Enqueue

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

Enqueue(int, TElement, TPriority)

Inserts a value with an associated index into the priority queue.

public void Enqueue(int index, TElement value, TPriority priority)

Parameters

index int

The index associated with the value.

value TElement

The value to insert.

priority TPriority

The priority of the value.