Table of Contents

Class FixedCapacityMaxBinaryHeap<T>

Namespace
AlgorithmsSW.PriorityQueue
Assembly
AlgorithmsSW.dll
public sealed class FixedCapacityMaxBinaryHeap<T>

Type Parameters

T
Inheritance
FixedCapacityMaxBinaryHeap<T>
Inherited Members
Extension Methods

Constructors

FixedCapacityMaxBinaryHeap(int, IComparer<T>)

public FixedCapacityMaxBinaryHeap(int capacity, IComparer<T> comparer)

Parameters

capacity int
comparer IComparer<T>

Properties

Count

public int Count { get; }

Property Value

int

PeekMax

public T PeekMax { get; }

Property Value

T

Methods

PopMax()

public T PopMax()

Returns

T

PopMin()

public T PopMin()

Returns

T

Push(T)

public void Push(T item)

Parameters

item T

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.