Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class DirectedWeightedPseudograph extends DirectedPseudograph |
||
15 | { |
||
16 | /** |
||
17 | * Create a new simple directed weighted graph |
||
18 | * |
||
19 | * @param string $edgeClass - the edge class |
||
20 | * @param SupplierInterface $vertexSupplier - the vertex supplier |
||
21 | * @param SupplierInterface $edgeSupplier - the edge supplier |
||
22 | */ |
||
23 | public function __construct( |
||
33 | ); |
||
34 | } |
||
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 |