Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
2 / 2 |
MinPriorityQueue | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
__construct() // [\SplPriorityQueue] | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
<?php namespace SEIDS\Heaps\Pairing; | |
//============================================================================== | |
// PHP SEIDS: Supplementary, Easily Interchangeable Data Structures | |
// | |
// Copyright 2015, Daniel A.C. Martin | |
// Distributed under the MIT License. | |
// (See LICENSE file for details.) | |
//============================================================================== | |
class MinPriorityQueue extends \SEIDS\Heaps\MinPriorityQueue | |
{ | |
public function __construct() // [\SplPriorityQueue] | |
{ | |
$this->DataStructure = new PriorityQueueHeap(array($this, 'compare')); | |
} | |
} | |