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

prepare release - update whats_new

This commit is contained in:
oblonski 2015-03-11 18:57:47 +01:00
parent 2409403053
commit 63a6be219e

View file

@ -54,7 +54,7 @@ This way, you can even change it back to the schrimpf-configuration.
The second major improvement is that we changed the way locations are defined. Instead of separately assigning location-id and coordinates, The second major improvement is that we changed the way locations are defined. Instead of separately assigning location-id and coordinates,
we encapsulated these attributes in an object called Location. It is not only clearer, but it we encapsulated these attributes in an object called Location. It is not only clearer, but it
allows you to assign a location index. Thus, you can save the transport times and distances allows you to assign a location index. Thus, you can save the transport times and distances
between locations in (fast) arrays rather than maps (see FastVehicleRoutingTransportCostMatrix). between locations in (fast) arrays rather than maps (see [FastVehicleRoutingTransportCostMatrix](https://github.com/jsprit/jsprit/blob/master/jsprit-core/src/main/java/jsprit/core/util/FastVehicleRoutingTransportCostsMatrix.java)).
Thus from now on define locations like this: Thus from now on define locations like this:
<pre><code>Location location = Location.newInstance(Coordinate.newInstance(0,0));</code></pre> <pre><code>Location location = Location.newInstance(Coordinate.newInstance(0,0));</code></pre>