SuperLinq SuperLinq
SuperLinq SuperLinq
DocFX + Singulink = ♥

Search Results for

    Method EnqueueRangeMinimum

    EnqueueRangeMinimum(IEnumerable<(TElement Element, TPriority Priority)>)

    Enqueues a sequence of element/priority pairs to the UpdatablePriorityQueue<TElement, TPriority>.

    Declaration
    public void EnqueueRangeMinimum(IEnumerable<(TElement Element, TPriority Priority)> items)
    Parameters
    Type Name Description
    IEnumerable<(TElement Element, TPriority Priority)> items

    The pairs of elements and priorities to add to the queue.

    Remarks

    Any existing elements will be updated to the new priority if and only if the new priority is lower than the existing priority.

    Exceptions
    Type Condition
    ArgumentNullException

    The specified items argument was null.

    EnqueueRangeMinimum(IEnumerable<TElement>, TPriority)

    Enqueues a sequence of elements pairs to the UpdatablePriorityQueue<TElement, TPriority>, all associated with the specified priority.

    Declaration
    public void EnqueueRangeMinimum(IEnumerable<TElement> elements, TPriority priority)
    Parameters
    Type Name Description
    IEnumerable<TElement> elements

    The elements to add to the queue.

    TPriority priority

    The priority to associate with the new elements.

    Remarks

    Any existing elements will be updated to the new priority if and only if the new priority is lower than the existing priority.

    Exceptions
    Type Condition
    ArgumentNullException

    The specified elements argument was null.

    © SuperLinq Authors. All rights reserved.