PHP Doku:: The SplMinHeap class - class.splminheap.html
Verlauf / Chronik / History:
(1)
anzeigen
ausblenden
The SplMinHeap class
Sie sind hier:
Doku-Startseite
≥
PHP-Handbuch
≥
Funktionsreferenz
≥
Sonstige Grunderweiterungen
≥
Standard PHP Library (SPL)
≥
Datenstrukturen
≥
The SplMinHeap class
Ein Service von Reinhard Neidl -
Webprogrammierung
.
Datenstrukturen
<<
SplMaxHeap::compare
SplMinHeap::compare
>>
∧
PHP-Handbuch
∧
Funktionsreferenz
∧
Sonstige Grunderweiterungen
∧
Standard PHP Library (SPL)
∧
Datenstrukturen
The SplDoublyLinkedList class
The SplFixedArray class
The SplHeap class
The SplMaxHeap class
The SplMinHeap class
The SplObjectStorage class
The SplPriorityQueue class
The SplQueue class
The SplStack class
UnterSeiten:
∨
SplMinHeap::compare
The SplMinHeap class
Einführung
The SplMinHeap class provides the main functionalities of a heap, keeping the minimum on the top.
Klassenbeschreibung
SplMinHeap
extends
SplHeap
implements
Iterator
,
Countable
{
/* Methoden */
void
compare
(
mixed
$value1
,
mixed
$value2
)
/* Geerbte Methoden */
abstract
int
SplHeap::compare
(
mixed
$value1
,
mixed
$value2
)
int
SplHeap::count
(
void
)
mixed
SplHeap::current
(
void
)
mixed
SplHeap::extract
(
void
)
void
SplHeap::insert
(
mixed
$value
)
bool
SplHeap::isEmpty
(
void
)
mixed
SplHeap::key
(
void
)
void
SplHeap::next
(
void
)
void
SplHeap::recoverFromCorruption
(
void
)
void
SplHeap::rewind
(
void
)
mixed
SplHeap::top
(
void
)
bool
SplHeap::valid
(
void
)
}
Inhaltsverzeichnis
SplMinHeap::compare
— Compare elements in order to place them correctly in the heap while sifting up.
Keine BenutzerBeiträge.
-
Beiträge aktualisieren...