Show / Hide Table of Contents

Interface IHeap<T, TCompare>

Stores items based on priorities and allows access to the highest priority item.

Inherited Members
IHeap<T>.Enqueue(T)
IHeap<T>.Dequeue()
IHeap<T>.Peek()
IDataStructure<T>.ToArray()
ISteppable<T>.StepperBreak<TStep>(TStep)
DataStructure.ICountable.Count
DataStructure.IClearable.Clear()
DataStructure.IComparing<T, TCompare>.Compare
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public interface IHeap<T, TCompare> : IHeap<T>, IDataStructure<T>, ISteppable<T>, System.Collections.Generic.IEnumerable<T>, DataStructure.ICountable, DataStructure.IClearable, DataStructure.IComparing<T, TCompare> where TCompare : struct, IFunc<T, T, CompareResult>
Type Parameters
Name Description
T

The type of values stored in this data structure.

TCompare

The type that is comparing T values.

Extension Methods

Steppable.Stepper<T>(ISteppable<T>, Action<T>)
Steppable.Stepper<T, TStep>(ISteppable<T>, TStep)
Steppable.StepperBreak<T>(ISteppable<T>, Func<T, StepStatus>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX