package junit_libs;
public class GraphOriginal2 {
protected class Edge {
public Edge(int d, int c) {
dest = d;
cost = c;
}
}
}
protected class BFSItem {
public BFSItem(int c, int d, int p) {
color = c;
distance = d;
prev = p;
}
}
protected class DFSItem {
public DFSItem() {
prev = 0;
d = f = 0;
}
}
public GraphOriginal2() {
}
}
throw new RuntimeException("Node already defined");
}
if (i == -1)
throw new RuntimeException("no such element");
return i;
}
}
int i;
}
}
}
}
int time;
public void searchDepthFirst() {
time = 0;
int i = 0;
}
}
}
}
// TODO Bitte hier Ihren Code einfuegen
}
return erg;
}
// TODO Bitte hier Ihren Code einfuegen
return labels;
}
// TODO Bitte hier Ihren Code einfuegen
return true;
}
return false;
}
// TODO Bitte hier Ihren Code einfuegen
return e.cost;
}
throw new RuntimeException("no such edge");
}
String s = "";
}
return s;
}
}