-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # contribs/drt-extensions/src/main/java/org/matsim/contrib/drt/extension/estimator/run/DrtEstimatorConfigGroup.java # contribs/drt/src/main/java/org/matsim/contrib/drt/run/DrtConfigGroup.java
- Loading branch information
Showing
193 changed files
with
3,994 additions
and
2,538 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
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
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
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); | ||
|
||
} |
11 changes: 5 additions & 6 deletions
11
contribs/common/src/main/java/org/matsim/contrib/common/zones/Zone.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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
package org.matsim.contrib.common.zones; | ||
|
||
import org.locationtech.jts.geom.prep.PreparedGeometry; | ||
import org.locationtech.jts.geom.prep.PreparedPolygon; | ||
import org.matsim.api.core.v01.BasicLocation; | ||
import org.matsim.api.core.v01.Coord; | ||
import org.matsim.api.core.v01.Identifiable; | ||
import org.matsim.api.core.v01.network.Link; | ||
import org.matsim.utils.objectattributes.attributable.Attributable; | ||
|
||
import javax.annotation.Nullable; | ||
import java.util.List; | ||
|
||
public interface Zone extends BasicLocation, Identifiable<Zone> { | ||
public interface Zone extends BasicLocation, Identifiable<Zone>, Attributable { | ||
@Nullable | ||
PreparedGeometry getPreparedGeometry(); | ||
PreparedPolygon getPreparedGeometry(); | ||
|
||
Coord getCentroid(); | ||
String getType(); | ||
|
||
List<Link> getLinks(); | ||
} |
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.