Aggiunti alcuni esercizi
This commit is contained in:
@@ -46,7 +46,7 @@ public class FindCycleDFS<V, E>
|
||||
protected boolean isDone() { return done; }
|
||||
|
||||
public Iterable<Position> finalResult(Iterable<Position> r) {
|
||||
// remove the vertices and edges from start to cycleStart
|
||||
// remove the vertices and edges from start_static_methods to cycleStart
|
||||
if (!cycle.isEmpty()) {
|
||||
for (Position<Position> p: cycle.positions()) {
|
||||
if (p.element() == cycleStart)
|
||||
|
||||
Reference in New Issue
Block a user