Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge master into deployment 07.05 #94

Merged
merged 46 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
08aea15
use `SpeedyGraphBuilder.build()` instead of `new SpeedyGraph()`
mrieser Dec 23, 2023
5445445
support turn restrictions (disallowedNextLinks) in SpeedyGraphBuilder
mrieser Dec 29, 2023
5486fa6
replace deprecated call to SpeedyGraphBuilder.build in tests
mrieser Dec 29, 2023
935a919
Merge branch 'master' into support-turn-restrictions-in-SpeedyALT
tduberne Apr 18, 2024
8d1bfbf
ignore vs code settings
tduberne Apr 18, 2024
070e649
add filtering logic to SingleModeNetworksCache
tduberne Apr 18, 2024
cb22bfa
use new method
tduberne Apr 18, 2024
14cef75
add a method to aggregate link restrictions for all modes
tduberne Apr 18, 2024
280b14e
filter disallowed next links
tduberne Apr 18, 2024
d54877f
use the monomodal version of turn restrictions in SpeedyGraphBuilder
tduberne Apr 18, 2024
6c2b421
remove infinite recursion due to removing method argument
tduberne Apr 18, 2024
716c126
remove deprecation
tduberne Apr 18, 2024
2a28aab
remove calls to now-removed method from tests
tduberne Apr 18, 2024
3404094
change java version to 21
paulheinr Apr 25, 2024
d29dd77
Do not create GeometryFactory in GeometryUtils too often
marecabo Apr 30, 2024
2f844a9
Merge branch 'master' into java-21
paulheinr May 2, 2024
78cbc3a
explicitly configure java version in maven compiler plugin
paulheinr May 2, 2024
5a76782
Merge pull request #3238 from matsim-org/java-21
paulheinr May 2, 2024
67eebc2
build(deps): bump com.google.errorprone:error_prone_annotations
dependabot[bot] May 2, 2024
229a8b7
Merge pull request #3250 from matsim-org/dependabot/maven/com.google.…
michalmac May 2, 2024
f46cf64
build(deps): bump org.checkerframework:checker-qual
dependabot[bot] May 2, 2024
0987976
Merge pull request #3249 from matsim-org/dependabot/maven/org.checker…
michalmac May 2, 2024
1694531
build(deps): bump com.google.guava:guava from 33.1.0-jre to 33.2.0-jre
dependabot[bot] May 2, 2024
653382b
Merge pull request #3248 from matsim-org/dependabot/maven/com.google.…
michalmac May 2, 2024
b08d6b9
add a Builder and toString
tduberne May 3, 2024
19005ec
test turn restrictions in mode filtering
tduberne May 3, 2024
ed3c2e1
add test mixin for least cost path with turn restrictions
tduberne May 3, 2024
ddb509e
test turn restrictions for standard SpeedyDijkstra
tduberne May 3, 2024
a1932a2
add test with turn restrictions for SpeedyALT
tduberne May 3, 2024
ef7e434
replace population comparison in tests and deprecate by byte comparis…
nkuehnel May 3, 2024
d5d1e87
Merge branch 'master' into support-turn-restrictions-in-SpeedyALT
tduberne May 3, 2024
71d1fca
Merge branch 'master' into reuse-GeometryFactory
marecabo May 3, 2024
5b67113
Merge pull request #3243 from marecabo/reuse-GeometryFactory
jfbischoff May 3, 2024
61c6a35
build(deps): bump org.apache.commons:commons-csv from 1.10.0 to 1.11.0
dependabot[bot] May 3, 2024
7c4557f
small performance improvement in QuadTree, code cleanup
mrieser May 4, 2024
45736d6
Merge pull request #3251 from matsim-org/dependabot/maven/org.apache.…
michalmac May 4, 2024
ef00d46
adapt tests to improved QuadTree
mrieser May 4, 2024
e442a2c
Merge branch 'master' into speedup-quadtree
mrieser May 4, 2024
670fd95
Merge pull request #3253 from matsim-org/speedup-quadtree
mrieser May 4, 2024
33b85cd
Merge branch 'master' into support-turn-restrictions-in-SpeedyALT
tduberne May 6, 2024
25de0eb
Merge pull request #3024 from matsim-org/support-turn-restrictions-in…
tduberne May 6, 2024
368b724
Noise dashboard (#3254)
frievoe97 May 6, 2024
87e84ac
DRT Estimation and Teleportation (#3160)
luchengqi7 May 6, 2024
791f39b
try to avoid restrictions that lead to unreachable links, add option …
rakow May 7, 2024
bdf2182
fix: personMoney event reference lookup missing in EventsReader (#3258)
mfrawley-moia May 7, 2024
6f9a62f
Merge pull request #93 from matsim-org/master
mfrawley-moia May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-on-pr-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'
server-id: 'matsim-releases'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-on-release-created.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'
server-id: matsim-releases
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'
server-id: 'matsim-releases'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
if: ${{matrix.module != 'matsim' || steps.detect-changes.outputs.outside-contribs == 'true'}}
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'
cache: 'maven'

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ matsimExamples
matsim/docs/doxygen/html
matsim/src/main/java/Doxyfile

# VS Code files
.vscode

# ignore output directories:
output/
35 changes: 34 additions & 1 deletion contribs/application/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<parent>
<groupId>org.matsim</groupId>
Expand All @@ -20,12 +21,21 @@
</repository>
</repositories>

<properties>
<avro.version>1.11.3</avro.version>
</properties>

<dependencies>

<dependency>
<groupId>tech.tablesaw</groupId>
<artifactId>tablesaw-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro.version}</version>
</dependency>

<dependency>
<groupId>org.matsim.contrib</groupId>
Expand Down Expand Up @@ -140,4 +150,27 @@
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
<version>${avro.version}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>schema</goal>
</goals>
<configuration>
<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory>
<outputDirectory>${project.basedir}/src/main/java/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
47 changes: 47 additions & 0 deletions contribs/application/src/main/avro/xyt.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"namespace": "org.matsim.application.avro",
"type": "record",
"name": "XYTData",
"fields": [
{
"name": "crs",
"type": "string",
"doc": "Coordinate reference system"
},
{
"name": "xCoords",
"doc": "List of x coordinates",
"type": {
"type": "array",
"items": "float"
}
},
{
"name": "yCoords",
"doc": "List of y coordinates",
"type": {
"type": "array",
"items": "float"
}
},
{
"name": "timestamps",
"doc": "List of timestamps in seconds",
"type": {
"type": "array",
"items": "int"
}
},
{
"name": "data",
"doc": "XYT data for each dataset. The key is the name, the data is stored in one chunk of data.",
"type": {
"type": "map",
"values": {
"type": "array",
"items": "float"
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ private Config prepareConfig() {
config.transit().setTransitScheduleFile(ApplicationUtils.matchInput("transitSchedule", input.getRunDirectory()).toAbsolutePath().toString());
config.transit().setVehiclesFile(ApplicationUtils.matchInput("transitVehicles", input.getRunDirectory()).toAbsolutePath().toString());
config.plans().setInputFile(null);
config.facilities().setInputFile(null);
config.eventsManager().setNumberOfThreads(null);
config.eventsManager().setEstimatedNumberOfEvents(null);
config.global().setNumberOfThreads(1);
Expand Down Expand Up @@ -337,8 +338,8 @@ private void writeTimeDependentRaster(Network network, Config config, EmissionsO
Coord coord = raster.getCoordForIndex(xi, yi);
double value = timeBin.getValue().get(Pollutant.CO2_TOTAL).getValueByIndex(xi, yi);

// if (value == 0)
// continue;
if (value == 0)
continue;

printer.print(timeBin.getStartTime());
printer.print(coord.getX());
Expand Down
Loading