# Spec PriorityHeap
Stores the priority data on a heap.

Extends | PriorityType
All Extended | PriorityType
Defined in | <seqan/misc/priority_type_heap.h>
Signature | `template <[typename TValue[, typename TLess]]> class PriorityType<TValue, TLess, PriorityHeap>;`

## Template Parameters

`TValue` | The value type. Default: `int`.
`TLess` | The less-than comparator. Default: `std::less<TValue>`.

## Interface Function Overview

### Interface Functions Inherited From PriorityType

- `adjustTop`
- `clear`
- `empty`
- `length`
- `pop`
- `push`
- `top`

#### Dox Sources

    /*!
     * @class PriorityHeap
     *
     * @extends PriorityType
     *
     * @headerfile <seqan/misc/priority_type_heap.h>
     *
     * @brief Stores the priority data on a heap.
     *
     * @signature template <[typename TValue[, typename TLess]]> class
     *            PriorityType<TValue, TLess, PriorityHeap>;
     *
     * @tparam TValue The value type. Default: <tt>int</tt>.
     * @tparam TLess The less-than comparator. Default:
     *               <tt>std::less&lt;TValue&gt;</tt>.
     */