mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
modify problem reader/writer to deal vehicles that can start AND end at
specified locations
This commit is contained in:
parent
6575b6d48e
commit
63060f3b35
10 changed files with 310 additions and 38 deletions
|
|
@ -9,21 +9,27 @@
|
|||
<vehicle>
|
||||
<id>v1</id>
|
||||
<typeId>vehType</typeId>
|
||||
<location>
|
||||
<startLocation>
|
||||
<id>loc</id>
|
||||
</location>
|
||||
</startLocation>
|
||||
<endLocation>
|
||||
<id>loc</id>
|
||||
</endLocation>
|
||||
<timeSchedule>
|
||||
<start>0.0</start>
|
||||
<end>1.7976931348623157E308</end>
|
||||
</timeSchedule>
|
||||
<returnToDepot>true</returnToDepot>
|
||||
<returnToDepot>false</returnToDepot>
|
||||
</vehicle>
|
||||
<vehicle>
|
||||
<id>v2</id>
|
||||
<typeId>vehType2</typeId>
|
||||
<location>
|
||||
<startLocation>
|
||||
<id>loc</id>
|
||||
</location>
|
||||
</startLocation>
|
||||
<endLocation>
|
||||
<id>loc</id>
|
||||
</endLocation>
|
||||
<timeSchedule>
|
||||
<start>0.0</start>
|
||||
<end>1.7976931348623157E308</end>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue