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:
parent
2409403053
commit
63a6be219e
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue