Skip to content

Commit 88625d7

Browse files
committed
feat: tweak
1 parent a395e24 commit 88625d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GraphTheory/src/graph_dag/Graph.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public String toString() {
190190

191191
public static void main(String[] args) {
192192

193-
Graph ug = new Graph("ug.txt", true);
193+
Graph ug = new Graph("./GraphTheory/src/graph_dag/ug.txt", true);
194194
System.out.print(ug);
195195

196196
for (int v = 0; v < ug.V(); v++)

GraphTheory/src/graph_dag/GraphDFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public Iterable<Integer> post() {
3939

4040
public static void main(String[] args) {
4141

42-
Graph g = new Graph("ug.txt", true);
42+
Graph g = new Graph("./GraphTheory/src/graph_dag/ug.txt", true);
4343
GraphDFS graphDFS = new GraphDFS(g);
4444
System.out.println("DFS preOrder : " + graphDFS.pre());
4545
System.out.println("DFS postOrder : " + graphDFS.post());

0 commit comments

Comments
 (0)