forked from matsim-org/alonso-mora
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from moia-oss/master
shifts, drt operations and WaitForStopTask
- Loading branch information
Showing
7 changed files
with
58 additions
and
12 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
13 changes: 13 additions & 0 deletions
13
core/src/main/java/org/matsim/alonso_mora/scheduling/AlonsoMoraTaskFactory.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,13 @@ | ||
package org.matsim.alonso_mora.scheduling; | ||
|
||
import org.matsim.api.core.v01.network.Link; | ||
|
||
/** | ||
* @author mga, nkuehnel / MOIA | ||
*/ | ||
public interface AlonsoMoraTaskFactory { | ||
|
||
|
||
WaitForStopTask createWaitForStopTask(double beginTime, double endTime, Link link); | ||
|
||
} |
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
14 changes: 14 additions & 0 deletions
14
core/src/main/java/org/matsim/alonso_mora/scheduling/DefaultAlonsoMoraTaskFactory.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,14 @@ | ||
package org.matsim.alonso_mora.scheduling; | ||
|
||
import org.matsim.api.core.v01.network.Link; | ||
|
||
/** | ||
* @author mga, nkuehnel / MOIA | ||
*/ | ||
public class DefaultAlonsoMoraTaskFactory implements AlonsoMoraTaskFactory { | ||
|
||
@Override | ||
public WaitForStopTask createWaitForStopTask(double beginTime, double endTime, Link link) { | ||
return new WaitForStopTask(beginTime, endTime, link); | ||
} | ||
} |
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