Closed egeldenhuys closed 7 years ago
Graph
objectsvoid graphToImage(Graph g, String graphFile, String imageFile)
void graphFileToImage(String inputFile, String outputFile)
GraphUtils.java
JLogger.java
sudo pacman -S graphviz
sudo apt-get install graphviz
GraphUtils.graphToImage(g, "graph.txt", "graph_received.png");
GraphUtils.graphFileToImage("graph.txt", "graph_expected.png");
EDIT: This is DFS based on edges and is not correct for task 1.
Task1: 10/25
Success: numEdges() method
Success: getDegree() method
Failure: depthFirstTraversal() method on a small simple circular graph
Failure: clone() and/or changeLabel() method
Failure: reconstructGraph() method
Success: numEdges() method
Success: getDegree() method
Success: depthFirstTraversal() method on a small simple acyclic graph
Success: clone() and changeLabel() method
Success: reconstructGraph()
Success: getDegree() method
Failure: depthFirstTraversal() method on a medium graph
Failure: clone() and/or changeLabel() method
Success: getDegree() method
Failure: depthFirstTraversal() method on a large graph
Failure: clone() and/or changeLabel() method
Success: getDegree() method
Failure: depthFirstTraversal() method on a large graph
Failure: clone() and/or changeLabel() method
25/25
Success: numEdges() method
Success: getDegree() method
Success: depthFirstTraversal() method on a small simple circular graph
Success: clone() and changeLabel() method
Success: reconstructGraph()
Success: numEdges() method
Success: getDegree() method
Success: depthFirstTraversal() method on a small simple acyclic graph
Success: clone() and changeLabel() method
Success: reconstructGraph()
Success: getDegree() method
Success: depthFirstTraversal() method on a medium graph
Success: clone() and changeLabel() method
Success: getDegree() method
Success: depthFirstTraversal() method on a large graph
Success: clone() and changeLabel() method
Success: getDegree() method
Success: depthFirstTraversal() method on a large graph
Success: clone() and changeLabel() method
Task 1
Current status