mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
Fix typo
This commit is contained in:
parent
f9e000c3ff
commit
2953513e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ First, build a vehicle with its vehicle-type:
|
||||||
|
|
||||||
<pre><code>/*
|
<pre><code>/*
|
||||||
* get a vehicle type-builder and build a type with the typeId "vehicleType" and a capacity of 2
|
* get a vehicle type-builder and build a type with the typeId "vehicleType" and a capacity of 2
|
||||||
* you are free to add an arbitrary number of capacity dimensions with .addCacpacityDimension(dimensionIndex,dimensionValue)
|
* you are free to add an arbitrary number of capacity dimensions with .addCapacityDimension(dimensionIndex,dimensionValue)
|
||||||
*/
|
*/
|
||||||
final int WEIGHT_INDEX = 0;
|
final int WEIGHT_INDEX = 0;
|
||||||
VehicleTypeImpl.Builder vehicleTypeBuilder = VehicleTypeImpl.Builder.newInstance("vehicleType").addCapacityDimension(WEIGHT_INDEX,2);
|
VehicleTypeImpl.Builder vehicleTypeBuilder = VehicleTypeImpl.Builder.newInstance("vehicleType").addCapacityDimension(WEIGHT_INDEX,2);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue