Skip to content

Commit 88c09b7

Browse files
committed
Remove needless Algorithm\MinimumSpanningTree\PrimWithIf
1 parent 937ca8e commit 88c09b7

File tree

2 files changed

+0
-88
lines changed

2 files changed

+0
-88
lines changed

src/MinimumSpanningTree/Prim.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public function getEdges()
4444
if ($currentEdge instanceof EdgeDirected) {
4545
throw new UnexpectedValueException('Unable to create MST for directed graphs');
4646
}
47-
// TODO maybe it would be better to check if the reachable vertex of $currentEdge si allready marked (smaller Queue vs. more if's)
4847
// Add edges to priority queue with inverted weights (priority queue has high values at the front)
4948
$edgeQueue->insert($currentEdge, -$currentEdge->getWeight());
5049
}

src/MinimumSpanningTree/PrimWithIf.php

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)