Namensräume
Varianten
Aktionen

Vorlage:cpp/algorithm/notes heap

Aus cppreference.com
A Haufen ist ein Bereich von Elementen [f,l) das hat die folgenden Eigenschaften:
Original:
A heap is a range of elements [f,l) that has the following properties:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • *f ist das größte Element in dem Bereich
    Original:
    *f is the largest element in the range
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • ein neues Element hinzugefügt mit std::push_heap() werden
    Original:
    a new element can be added using std::push_heap()
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • das erste Element kann mit Hilfe std::pop_heap() werden
    Original:
    the first element can be removed using std::pop_heap()
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
Die tatsächliche Anordnung der Elemente ist die Umsetzung definiert .
Original:
The actual arrangement of the elements is implementation defined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.