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

Run search on multiple instances? #16

Open
LiBobb opened this issue Sep 14, 2017 · 1 comment
Open

Run search on multiple instances? #16

LiBobb opened this issue Sep 14, 2017 · 1 comment

Comments

@LiBobb
Copy link

LiBobb commented Sep 14, 2017

Hello,
I wonder if MOMoT provides any ways to run search on multiple instances concurrently or sequentially? And if not, is there any tricky way to do so? I got lots of generated instance models to run, manually change the .xmi name and click run is too painful for me.

Thanks.

@martin-fleck-at
Copy link
Collaborator

Hi,
Currently, there is no way to run MOMoT on multiple input models concurrently or sequentially directly from the MOMoT language (*.momot file). However, you should be able to do it from the Java API. You also do not have to start from scratch, because when you create a *.momot file, a Java file is automatically generated in your project. This file is also the one that gets actually executed. Therefore I suggest you have a look at the generated Java file, copy it somewhere (so it does not get overridden when you change the *.momot file) and see how you can adapt it, e.g., by looping over it with multiple inputs etc.

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

No branches or pull requests

2 participants