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

Integrate "demand generation of parcel delivery" (based on master thesis) in matsim-libs #3665

Merged
merged 53 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
059e82b
Matsim Advanced
May 14, 2024
3044f4e
Matsim Advanced - Small fixes
May 14, 2024
2e49324
Matsim Advanced - Small fixes 2
May 14, 2024
83a2671
Merge branch 'matsim-org:master' into master
AnaUeb May 24, 2024
dde8994
Masterarbeit 1
May 24, 2024
f566eda
Merge branch 'master' of https://github.com/AnaUeb/matsim-libs
May 24, 2024
5d4c0c2
Merge branch 'matsim-org:master' into master
AnaUeb May 24, 2024
7a8fd39
DemandPerAge - MA
Jun 5, 2024
2100fda
DemandPerAge - MA 2
Jun 7, 2024
ba55915
DemandPerAge - MA 3
Jun 11, 2024
8368088
MA - Erros
Jun 21, 2024
bf3029c
Modify freight demand generation tool
Jun 22, 2024
6921cf3
Changes 2
Jun 25, 2024
5c4307d
Packages per Person
Jun 25, 2024
09f38a6
Stop time
Jul 16, 2024
6e19035
Presentation day
Aug 6, 2024
6a3974e
Code merge-conflicts day
Aug 9, 2024
d99b43e
merge in upstream master from matsim-libs
kt86 Aug 9, 2024
be0c562
auto indent lines. no changes in behaviour
kt86 Aug 9, 2024
65ab468
First run after merge
Aug 13, 2024
f794d0e
PLZ-runs
Oct 2, 2024
67cf249
poisson
Oct 9, 2024
c83fb61
commit MA
Dec 8, 2024
1b21f54
commit MA 2
Dec 9, 2024
754049b
marge in matsim-libs/master and resolve conflicts
kt86 Dec 10, 2024
8744950
fix compile error
kt86 Dec 10, 2024
faf938c
test was already removed, after class itself was removed.
kt86 Dec 11, 2024
7052e39
add data for new column in CarrierLoadAnalysis
kt86 Dec 11, 2024
97aaafd
add check for null
kt86 Dec 11, 2024
e1db475
Revert "add check for null" -- because it leads to an infinty running...
kt86 Dec 11, 2024
0e25410
update FreightDemandGeneration by adding functionality for specific u…
rewertvsp Jan 7, 2025
aeb2b1f
add implementation for parcel delivery
rewertvsp Jan 7, 2025
c6d3953
rename method and extend java doc
rewertvsp Jan 7, 2025
0f8e4ee
add demand information to ageGroup file 1
rewertvsp Jan 7, 2025
65a6a84
move stuff into brackets
rewertvsp Jan 9, 2025
8a82a1e
revert renaming
rewertvsp Jan 9, 2025
ff95066
add tests
rewertvsp Jan 9, 2025
0f2b841
rename test input files
rewertvsp Jan 10, 2025
8591463
add java doc
rewertvsp Jan 10, 2025
dc9e722
Merge remote-tracking branch 'refs/remotes/upstream/master' into upda…
rewertvsp Jan 13, 2025
2533395
rename to related object
rewertvsp Jan 13, 2025
6797c6a
fix controller
rewertvsp Jan 13, 2025
e0eb2f2
Merge pull request #4 from AnaUeb/updateAna2-by-Ricardo
rewertvsp Jan 13, 2025
6be7865
Merge branch 'matsim-org:master' into ana2
kt86 Jan 13, 2025
01ecf5b
move link finding for persons to more effective place
rewertvsp Jan 14, 2025
2a45de0
Merge remote-tracking branch 'upstream/master' into ana2
rewertvsp Jan 15, 2025
eae01d8
use recent Builder for services
rewertvsp Jan 15, 2025
e7486a3
Merge branch 'master' into ana2
rewertvsp Jan 15, 2025
0fc834f
Merge remote-tracking branch 'upstream/master' into ana2
rewertvsp Jan 20, 2025
4b1a0e6
Merge remote-tracking branch 'upstream/master' into ana2
rewertvsp Jan 20, 2025
7f1785e
mark Freight analysis in vsp contrib as deprecated, but make it runab…
rewertvsp Jan 20, 2025
6e56d39
delete unneeded test files
rewertvsp Jan 20, 2025
2db78f7
Some cleanup (#5)
kt86 Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
marge in matsim-libs/master and resolve conflicts
  • Loading branch information
kt86 committed Dec 10, 2024
commit 754049b1aa778b43cceb6fc4d7e79ad4a1b3c350
26 changes: 26 additions & 0 deletions .github/workflows/deploy-dtds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: deploy-dtds-on-website

on:
pull_request:
types:
- closed
paths:
- 'matsim/src/main/resources/dtd/**'

jobs:
rsync-dtds:
if: github.event.pull_request.merged == true # only if PR closed by merging
name: sync DTDs to website
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: rsync dtds
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -avz
path: matsim/src/main/resources/dtd/
remote_path: ~/httpdocs/files/dtd/
remote_host: ${{ secrets.WEBSITE_DEPLOY_HOST }}
remote_user: ${{ secrets.WEBSITE_DEPLOY_USER }}
remote_key: ${{ secrets.WEBSITE_SSH_PRIVATE_KEY }}
3 changes: 2 additions & 1 deletion .github/workflows/full-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest]
#os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Prepare git
Expand Down
6 changes: 3 additions & 3 deletions contribs/accessibility/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>matrixbasedptrouter</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>roadpricing</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>net.sf.trove4j</groupId>
Expand Down Expand Up @@ -70,7 +70,7 @@
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>analysis</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.matsim.contrib</groupId>-->
Expand Down
2 changes: 1 addition & 1 deletion contribs/analysis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>roadpricing</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.osgeo</groupId>
Expand Down
26 changes: 16 additions & 10 deletions contribs/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</repositories>

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

<dependencies>
Expand All @@ -40,37 +40,37 @@
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>otfvis</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>osm</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>sumo</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>analysis</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>emissions</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>noise</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>freight</artifactId>
<version>2025.0-SNAPSHOT</version>
<version>${project.parent.version}</version>
<exclusions>
<!-- Logging levels are all messed up without this exclusion -->
<exclusion>
Expand All @@ -87,7 +87,7 @@
<dependency>
<groupId>com.github.matsim-org</groupId>
<artifactId>gtfs2matsim</artifactId>
<version>fc8b13954d</version>
<version>19f1676fc6</version>
<exclusions>
<!-- Exclude unneeded dependencies and these with known CVE -->
<exclusion>
Expand Down Expand Up @@ -148,8 +148,14 @@
<artifactId>xercesImpl</artifactId>
<version>2.12.2</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>dvrp</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>

</dependencies>
</dependencies>

<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,17 @@ public static Path matchInput(String name, Path dir) {
if (path.isPresent())
return path.get();

// Match more general pattern at last
path = matchPattern(".+\\.[a-zA-Z0-9]*_" + name + "\\..+", dir);
// Match more general pattern
path = matchPattern(".+\\.[a-zA-Z0-9\\-]*_" + name + "\\..+", dir);
if (path.isPresent())
return path.get();

throw new IllegalArgumentException("Could not match input file: " + name);
// Even more permissive pattern
path = matchPattern(".+[a-zA-Z0-9_.\\-]*(_|\\.)" + name + ".+", dir);
if (path.isPresent())
return path.get();

throw new IllegalArgumentException("Could not match input file: %s (in %s)".formatted(name, dir));
}

private static Optional<Path> matchSuffix(String suffix, Path dir) {
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.