Interface IHeap<T, TCompare>
Stores items based on priorities and allows access to the highest priority item.
Inherited Members
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 |