aboutsummaryrefslogtreecommitdiff
path: root/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model
diff options
context:
space:
mode:
Diffstat (limited to 'dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model')
-rw-r--r--dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java b/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java
index 077b317..6b517f5 100644
--- a/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java
+++ b/dk/abcdefghijklmnopqrstuvxyzæøå/bachelorizer/model/Combi.java
@@ -72,7 +72,7 @@ public final class Combi {
Combi combi = new Combi(path);
}
- /// check that graph is connected
+ /// utility function to check that a graph is connected
///
/// If check fails, throw an unchecked exception,
/// since it occurs at runtime and is unrecoverable.
@@ -87,7 +87,7 @@ public final class Combi {
/// @param g Graph to inspect
/// @throws IllegalArgumentException
/// https://docs.oracle.com/javase/tutorial/essential/exceptions/runtime.html
- public void isConnected(Graph g) {
+ public static void isConnected(Graph g) {
// collect all vertices in the graph
Collection<Vertex> c = g.vertices();