データ構造
PHP Manual

SplPriorityQueue クラス

(PHP 5 >= 5.3.0)

導入

SplPriorityQueue クラスは、優先順位つきキューの主要な機能を提供します。 ヒープを使用して実装しています。

クラス概要

SplPriorityQueue implements Iterator , Countable {
/* メソッド */
__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 )
}

目次


データ構造
PHP Manual