Skip to content
Snippets Groups Projects
Commit 62c8592c authored by User expired's avatar User expired
Browse files

simplified constructor calls

fixed typo in javadoc
parent 7dcf86ed
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment