Skip to content

refactor: added comments and renamed MATSimApplication.run()#4562

Open
paulheinr wants to merge 2 commits intomainfrom
comments
Open

refactor: added comments and renamed MATSimApplication.run()#4562
paulheinr wants to merge 2 commits intomainfrom
comments

Conversation

@paulheinr
Copy link
Contributor

According to #4446 we want to implement a new standard how our scenarios are started with MATSim application. To avoid misunderstandings we renamed MATSimApplication.run() into MATSimApplication.start() as this is, what it is doing. run was missleading, because you could also pass "run" as argument to run the underlying model.

FYI @kainagel

@paulheinr paulheinr requested a review from rakow December 10, 2025 14:08
* @param defaultArgs predefined default arguments that will always be present
*/
public static void runWithDefaults(Class<? extends MATSimApplication> clazz, String[] args, String... defaultArgs) {
public static void startWithDefaults(Class<? extends MATSimApplication> clazz, String[] args, String... defaultArgs) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this should also be renamed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant