Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 63.64% |
Changes | 0 |
1 | <?php |
||
14 | class WeightedPseudograph extends Pseudograph |
||
15 | { |
||
16 | /** |
||
17 | * Create a new simple weighted pseudograph |
||
18 | * |
||
19 | * @param string $edgeClass - the edge class |
||
20 | * @param SupplierInterface $vertexSupplier - the vertex supplier |
||
21 | * @param SupplierInterface $edgeSupplier - the edge supplier |
||
22 | */ |
||
23 | 1 | public function __construct( |
|
33 | ); |
||
34 | 1 | } |
|
35 | |||
36 | /** |
||
37 | * Create a simple directed weighted graph builder |
||
38 | * |
||
39 | * @param string $edgeClass - the edge class |
||
40 | * @param SupplierInterface $edgeSupplier - the edge supplier |
||
41 | * |
||
42 | * @return GraphBuilder |
||
43 | */ |
||
44 | public function createBuilder(?string $edgeClass = null, ?SupplierInterface $edgeSupplier = null): GraphBuilder |
||
52 |