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

modify toString

This commit is contained in:
oblonski 2013-11-17 17:45:44 +01:00
parent 42abaea24e
commit 7522b5b89d
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ public class Service implements Job {
@Override
public String toString() {
return "[id=" + id + "][locationId=" + locationId + "][coord="+coord+"][size=" + demand + "][serviceTime=" + serviceTime + "][timeWindow=" + timeWindow + "]";
return "[id=" + id + "][type="+type+"][locationId=" + locationId + "][coord="+coord+"][size=" + demand + "][serviceTime=" + serviceTime + "][timeWindow=" + timeWindow + "]";
}
/* (non-Javadoc)

View file

@ -83,6 +83,6 @@ public final class DeliverService implements DeliveryActivity{
@Override
public String toString() {
return "[act="+getName()+"][loc="+getLocationId()+"]";
return "[act="+getName()+"][capDemand="+getCapacityDemand()+"][loc="+getLocationId()+"]";
}
}

View file

@ -88,7 +88,7 @@ public final class PickupService implements PickupActivity{
@Override
public String toString() {
return "[act="+getName()+"][loc="+getLocationId()+"]";
return "[act="+getName()+"][capDemand="+getCapacityDemand()+"][loc="+getLocationId()+"]";
}
}