検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 18 for PriorityQueue (0.017 sec.)
The PriorityQueue class 10895
« Ds\Queue::toArray Ds\PriorityQueue::allocate » PHP Manual Data Structures The PriorityQueue cl ... ass The PriorityQueue class (No version information available, might onl ... y be in Git) はじめに A PriorityQueue is very similar to a Queue. Values are pushed into ... es with the same priority. 注意 : Iterating over a PriorityQueue is destructive, equivalent to successive pop opera ... ions until the queue is empty. クラス概要 class Ds\PriorityQueue implements Ds\Collection { /* Constants */ const i ...
https://man.plustar.jp/php/class.ds-priorityqueue.html - [similar]
Creates a new instance 10054
« Ds\PriorityQueue::clear Ds\PriorityQueue::copy » PHP Manual PriorityQueue Creates a new instan ... ce Ds\PriorityQueue::__construct (PECL ds >= 1.0.0) Ds\PriorityQueue:: ... _construct — Creates a new instance 説明 public Ds\PriorityQueue::__construct () Creates a new instance. 例 例1 Ds\ ... e::__construct() example <?php $queue = new \ Ds \ PriorityQueue (); var_dump ( $queue ); ?> 上の例の出力は、 たとえ ... ば以下のようになります。 object(Ds\PriorityQueue)#1 (0) { } 関連キーワード: Creates , new , instanc ...
https://man.plustar.jp/php/ds-priorityqueue.construct.html - [similar]
Returns a shallow copy of the queue 9986
« Ds\PriorityQueue::__construct Ds\PriorityQueue::count » PHP Manual PriorityQueue Returns a sha ... llow copy of the queue Ds\PriorityQueue::copy (PECL ds >= 1.0.0) Ds\PriorityQueue::copy — ... Returns a shallow copy of the queue 説明 public Ds\PriorityQueue::copy (): Ds\PriorityQueue Returns a shallow copy ... り値 Returns a shallow copy of the queue. 例 例1 Ds\PriorityQueue::copy() example <?php $queue = new \ Ds \ Priority ... 上の例の出力は、 たとえば以下のようになります。 Ds\PriorityQueue Object ( [0] => b [1] => c [2] => a ) 関連キーワー ...
https://man.plustar.jp/php/ds-priorityqueue.copy.html - [similar]
Removes all values 9900
« Ds\PriorityQueue::capacity Ds\PriorityQueue::__construct » PHP Manual PriorityQueue Removes al ... l values Ds\PriorityQueue::clear (PECL ds >= 1.0.0) Ds\PriorityQueue::clear ... — Removes all values 説明 public Ds\PriorityQueue::clear (): void Removes all values from the queue. ... ータはありません。 戻り値 値を返しません。 例 例1 Ds\PriorityQueue::clear() example <?php $queue = new \ Ds \ Priorit ... 上の例の出力は、 たとえば以下のようになります。 Ds\PriorityQueue Object ( ) 関連キーワード: Removes , all , values ...
https://man.plustar.jp/php/ds-priorityqueue.clear.html - [similar]
Returns the current capacity 9831
« Ds\PriorityQueue::allocate Ds\PriorityQueue::clear » PHP Manual PriorityQueue Returns the curr ... ent capacity Ds\PriorityQueue::capacity (PECL ds >= 1.0.0) Ds\PriorityQueue::cap ... city — Returns the current capacity 説明 public Ds\PriorityQueue::capacity (): int Returns the current capacity. パ ... ありません。 戻り値 The current capacity. 例 例1 Ds\PriorityQueue::capacity() example <?php $queue = new \ Ds \ Prio ... ります。 int(8) 関連キーワード: capacity , Returns , PriorityQueue , Ds , the , int , パラメータ , allocate , public ...
https://man.plustar.jp/php/ds-priorityqueue.capacity.html - [similar]
Returns whether the queue is empty 9831
« Ds\PriorityQueue::count Ds\PriorityQueue::jsonSerialize » PHP Manual PriorityQueue Returns whe ... ther the queue is empty Ds\PriorityQueue::isEmpty (PECL ds >= 1.0.0) Ds\PriorityQueue::isEm ... Returns whether the queue is empty 説明 public Ds\PriorityQueue::isEmpty (): bool Returns whether the queue is emp ... if the queue is empty, false otherwise. 例 例1 Ds\PriorityQueue::isEmpty() example <?php $a = new \ Ds \ PriorityQ ... ueue (); $b = new \ Ds \ PriorityQueue (); $a -> push ( "a" , 5 ); $a -> push ( "b" , 15 ...
https://man.plustar.jp/php/ds-priorityqueue.isempty.html - [similar]
Allocates enough memory for a required capacity 9385
« PriorityQueue Ds\PriorityQueue::capacity » PHP Manual PriorityQueue Allocates enough memory fo ... r a required capacity Ds\PriorityQueue::allocate (PECL ds >= 1.0.0) Ds\PriorityQueue::all ... ough memory for a required capacity 説明 public Ds\PriorityQueue::allocate ( int $capacity ): void Ensures that eno ... rest power of 2. 戻り値 値を返しません。 例 例1 Ds\PriorityQueue::allocate() example <?php $queue = new \ Ds \ Prio ... ーワード: capacity , memory , required , Allocates , PriorityQueue , Ds , allocate , int , Capacity , 注意 ...
https://man.plustar.jp/php/ds-priorityqueue.allocate.html - [similar]
Returns the value at the front of the queue 9385
« Ds\PriorityQueue::jsonSerialize Ds\PriorityQueue::pop » PHP Manual PriorityQueue Returns the v ... alue at the front of the queue Ds\PriorityQueue::peek (PECL ds >= 1.0.0) Ds\PriorityQueue::peek — ... the value at the front of the queue 説明 public Ds\PriorityQueue::peek (): mixed Returns the value at the front of ... エラー / 例外 UnderflowException if empty. 例 例1 Ds\PriorityQueue::peek() example <?php $queue = new \ Ds \ Priority ... b" 関連キーワード: front , queue , Returns , the , PriorityQueue , Ds , of , peek , パラメータ , 出力 ...
https://man.plustar.jp/php/ds-priorityqueue.peek.html - [similar]
Pushes values into the queue 9385
« Ds\PriorityQueue::pop Ds\PriorityQueue::toArray » PHP Manual PriorityQueue Pushes values into ... the queue Ds\PriorityQueue::push (PECL ds >= 1.0.0) Ds\PriorityQueue::push — ... Pushes values into the queue 説明 public Ds\PriorityQueue::push ( mixed $value , int $priority ): void Pushe ... with the value. 戻り値 値を返しません。 例 例1 Ds\PriorityQueue::push() example <?php $queue = new \ Ds \ Priority ... " 関連キーワード: into , queue , Pushes , values , PriorityQueue , Ds , the , priority , string , toArray ...
https://man.plustar.jp/php/ds-priorityqueue.push.html - [similar]
Removes and returns the value with the highest priority 9128
« Ds\PriorityQueue::peek Ds\PriorityQueue::push » PHP Manual PriorityQueue Removes and returns t ... he value with the highest priority Ds\PriorityQueue::pop (PECL ds >= 1.0.0) Ds\PriorityQueue::pop — Re ... the value with the highest priority 説明 public Ds\PriorityQueue::pop (): mixed Removes and returns the value at th ... エラー / 例外 UnderflowException if empty. 例 例1 Ds\PriorityQueue::pop() example <?php $queue = new \ Ds \ PriorityQ ... 1) "a" string(1) "b" string(1) "c" 関連キーワード: PriorityQueue , Ds , priority , pop , string , returns , Removes ...
https://man.plustar.jp/php/ds-priorityqueue.pop.html - [similar]
PREV 1 2 NEXT