Skip to content

Commit a5c2a92

Browse files
committed
More instance files added.
A Simulated annealing based heuristic was implemented. Execution information that is saved on a file was also updated.
1 parent dd01623 commit a5c2a92

14 files changed

+816761
-78
lines changed

NP-Hard/src/Classes/Application.java

+388-39
Large diffs are not rendered by default.

NP-Hard/src/Classes/Graph.java

+349-39
Large diffs are not rendered by default.

NP-Hard/src/Classes/Vertex.java

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ public Vertex(int value) {
1919
this.adjacencyList = new LinkedList<Vertex>();
2020
}
2121

22+
public Vertex(Vertex v) {
23+
this.value = v.value;
24+
this.degree = v.degree;
25+
this.color = v.color;
26+
this.adjacencyList = v.adjacencyList;
27+
}
28+
2229
public void addEdge(Vertex v) {
2330

2431
if(this.adjacencyList.contains(v))

0 commit comments

Comments
 (0)