forked from matsim-org/matsim-libs
-
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.
Consolidate dvrp/drt/taxi zones (matsim-org#3224)
* WIP: consolidate drt and dvrp zones * minor refactorings * minor refactorings * further steps towards consolidation of dvrp and drt zone systems * WIP: consolidate drt and dvrp zones * minor refactorings * minor refactorings * further steps towards consolidation of dvrp and drt zone systems * update zone systems * finalize zone system consolidation * finalize zone system consolidation * fix tests * fix tests * fix another test * change population comparison method * move pairwise plan elements comparison from test utils to population comparison
- Loading branch information
Showing
133 changed files
with
1,854 additions
and
1,673 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
11 changes: 11 additions & 0 deletions
11
contribs/common/src/main/java/org/matsim/contrib/common/zones/GridZoneSystem.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,11 @@ | ||
package org.matsim.contrib.common.zones; | ||
|
||
import org.matsim.api.core.v01.Coord; | ||
|
||
import java.util.Optional; | ||
|
||
public interface GridZoneSystem extends ZoneSystem { | ||
|
||
Optional<Zone> getZoneForCoord(Coord coord); | ||
|
||
} |
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
49 changes: 37 additions & 12 deletions
49
contribs/common/src/main/java/org/matsim/contrib/common/zones/ZoneSystemImpl.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
12 changes: 12 additions & 0 deletions
12
contribs/common/src/main/java/org/matsim/contrib/common/zones/ZoneSystemParams.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,12 @@ | ||
package org.matsim.contrib.common.zones; | ||
|
||
import org.matsim.core.config.ReflectiveConfigGroup; | ||
|
||
/** | ||
* @author nkuehnel / MOIA | ||
*/ | ||
public abstract class ZoneSystemParams extends ReflectiveConfigGroup { | ||
public ZoneSystemParams(String paramSetName) { | ||
super(paramSetName); | ||
} | ||
} |
Oops, something went wrong.