Skip to content

Commit dde649a

Browse files
authored
Remove legacy comments and parameter from usage class
1 parent b96a626 commit dde649a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/graphs/usage/PrimUsageV2.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
import java.nio.file.Paths;
1212
import java.text.DecimalFormat;
1313

14-
/**
15-
* Main class set to run the second version of the Prim algorithm NB: it needs
16-
* to be executed passing the italian_dist_graph.csv file path as command line
17-
* argument.
18-
*/
1914
public class PrimUsageV2 {
2015

2116
private static final Charset ENCODING = StandardCharsets.UTF_8;
@@ -35,7 +30,7 @@ public static void main(String[] args) throws Exception {
3530
loadAllEntries(args[0], g);
3631
System.out.println("Graph created");
3732

38-
Graph mst = Prim.mstPrim(g, "abbadia", new MinComparator());
33+
Graph mst = Prim.mstPrim(g, "A", new MinComparator());
3934
System.out.println("Vertex count: " + mst.vertexCount());
4035
System.out.println("Edge count: " + mst.edgeCount());
4136
DecimalFormat formatter = new DecimalFormat("#0.000");

0 commit comments

Comments
 (0)