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:20:07 +01:00
parent b9cd75a302
commit 1f22239623

View file

@ -43,6 +43,11 @@ or, if you need to assign your own ConstraintManager or to configure the algorit
<pre><code>VehicleRoutingAlgorithm algorithm = Jsprit.Builder.newInstance(problem) ... .buildAlgorithm();</code></pre> <pre><code>VehicleRoutingAlgorithm algorithm = Jsprit.Builder.newInstance(problem) ... .buildAlgorithm();</code></pre>
Since, the algorithm is more computational intense, it is recommended to use all your idle computational power by setting
the number of threads you want to use (try for example noThreads = #cores+1 first).
<pre><code>VehicleRoutingAlgorithm algorithm = Jsprit.Builder.newInstance(problem).setProperty(Parameter.THREADS,5).buildAlgorithm();</code></pre>
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