PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SplMinHeap::compare> <SplMaxHeap::compare
Last updated: Fri, 21 Nov 2008

view this page in

The SplMinHeap class

Wstęp

The SplMinHeap class provides the main functionalities of a heap, keeping the minimum on the top.

Skrótowy opis klasy

SplMinHeap
SplMinHeap extends SplHeap implements Iterator , Countable {
/* Methods */
void SplMinHeap::compare ( mixed $value1 , mixed $value2 )
/* Inherited methods */
abstractint 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::rewind ( void )
mixed SplHeap::top ( void )
bool SplHeap::valid ( void )
}

Spis treści

  • SplMinHeap::compare — Compare elements in order to place them correctly in the heap while sifting up.


add a note add a note User Contributed Notes
SplMinHeap
There are no user contributed notes for this page.

SplMinHeap::compare> <SplMaxHeap::compare
Last updated: Fri, 21 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites