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

refined javadoc - fix #420

This commit is contained in:
oblonski 2018-04-23 11:40:24 +02:00
parent cc6c2763b8
commit 2547c9da1e
No known key found for this signature in database
GPG key ID: 179DE487285680D1

View file

@ -22,7 +22,7 @@ import com.graphhopper.jsprit.core.problem.Capacity;
import com.graphhopper.jsprit.core.problem.Skills; import com.graphhopper.jsprit.core.problem.Skills;
/** /**
* Pickup extends Service and is intended to model a Service where smth is LOADED (i.e. picked up) to a transport unit. * Break extends Service and is intended to model a time-window based driver break.
* *
* @author schroeder * @author schroeder
*/ */
@ -31,7 +31,7 @@ public class Break extends Service {
public static class Builder extends Service.Builder<Break> { public static class Builder extends Service.Builder<Break> {
/** /**
* Returns a new instance of builder that builds a pickup. * Returns a new instance of builder that builds a break.
* *
* @param id the id of the pickup * @param id the id of the pickup
* @return the builder * @return the builder
@ -47,9 +47,9 @@ public class Break extends Service {
} }
/** /**
* Builds Pickup. * Builds Break.
* <p> * <p>
* <p>Pickup type is "pickup" * <p>Pickup type is "break"
* *
* @return pickup * @return pickup
* @throws IllegalStateException if neither locationId nor coordinate has been set * @throws IllegalStateException if neither locationId nor coordinate has been set