-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 3513-freight-rename-carriercontrolerutils
- Loading branch information
Showing
6 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
contribs/freight/src/main/java/org/matsim/freight/carriers/CarrierJob.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.matsim.freight.carriers; | ||
|
||
import org.matsim.utils.objectattributes.attributable.Attributable; | ||
|
||
/** | ||
* A job that a {@link Carrier} can do. | ||
* <p> | ||
* In a first step this is more or less a marker interface. | ||
* <p> | ||
* In the next steps it will be extended, as follows | ||
* 1) existing common methods of {@link CarrierShipment} and {@link | ||
* CarrierService} where moved up here | ||
* 2) some similiar, but differently named methods of {@link | ||
* CarrierShipment} and {@link CarrierService} were renamed to the same name and moved up here | ||
* ... | ||
* future) It maybe gets generalized in way, that we only have one job definition with 1 or 2 | ||
* location(s). This then defines, if jsprit takes the job as a service or as a shipment. | ||
*/ | ||
public interface CarrierJob extends Attributable {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters