Datastructures
PHP Manual

کلاس SplPriorityQueue

Introduction

کلاس SplPriorityQueue عملکرد اصلی صف اولویت‌دار را با استفاده از heap پیاده می‌کند.

Class synopsis

SplPriorityQueue implements Iterator , Countable {
/* Methods */
__construct ( void )
int compare ( mixed $priority1 , mixed $priority2 )
int count ( void )
mixed current ( void )
mixed extract ( void )
void insert ( mixed $value , mixed $priority )
bool isEmpty ( void )
mixed key ( void )
void next ( void )
void recoverFromCorruption ( void )
void rewind ( void )
void setExtractFlags ( int $flags )
mixed top ( void )
bool valid ( void )
}

Table of Contents


Datastructures
PHP Manual