1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

replace HashMap by LinkedHashMap to ensure reproducibility (#156)

This commit is contained in:
oblonski 2015-04-27 14:32:48 +02:00
parent 67dc13d836
commit 3772436140

View file

@ -89,9 +89,9 @@ public class VehicleRoutingProblem {
}; };
private Map<String,Job> jobs = new HashMap<String, Job>(); private Map<String,Job> jobs = new LinkedHashMap<String, Job>();
private Map<String,Job> tentativeJobs = new HashMap<String,Job>(); private Map<String,Job> tentativeJobs = new LinkedHashMap<String,Job>();
private Set<String> jobsInInitialRoutes = new HashSet<String>(); private Set<String> jobsInInitialRoutes = new HashSet<String>();