diff --git a/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java b/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java index 80796b24db02330fe68978223c50c704337a9756..5ad81bb277e4445f13380a2a0ee7f8798e721f30 100644 --- a/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java +++ b/src/main/java/it/unibz/inf/isochrone/algorithm/MrneX.java @@ -29,7 +29,7 @@ public class MrneX extends Isochrone { // Constructors public MrneX(final ConfigDataset config, final Query query) throws AlgorithmException { - this(config, null, query, Integer.MAX_VALUE); + this(config, null, query); } public MrneX(final ConfigDataset config, final Database db, final Query query) throws AlgorithmException { @@ -41,9 +41,9 @@ public class MrneX extends Isochrone { adjList = new HashMap<>(); loadedIERNodes = new HashMap<>(); - nodes = new HashMap<>(); maxDuration = query.getDuration().intValue(); maxMemory = maxMemorySize; + nodes = new HashMap<>(); walkingSpeed = query.getWalkingSpeed(); } @@ -155,7 +155,7 @@ public class MrneX extends Isochrone { } /** - * Do we have unlimited memory available (or don't we care + * Do we have unlimited memory available (or do not care * about how much memory we will be using)? * * @return true if there is unlimited memory, false otherwise