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

headless to run 'batch' experiment #16

Open
meta00 opened this issue May 28, 2019 · 2 comments
Open

headless to run 'batch' experiment #16

meta00 opened this issue May 28, 2019 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@meta00
Copy link
Member

meta00 commented May 28, 2019

@gnoubi @jdzucker @benoitgaudou

Can you explain us how gama and gama headless handle batch type experiment?
In headless so far, we found that the xml parsed from gaml file is empty.

Example: Tutorials/Predator Prey/models/Model 13.gaml (Optimization experiment)

@LucieContamin LucieContamin transferred this issue from r-and-gama/rama Jul 10, 2019
@LucieContamin LucieContamin added the question Further information is requested label Jul 23, 2019
@benoitgaudou
Copy link

benoitgaudou commented Jul 26, 2019

Hi,
After some investigation by @chapuisk and @RoiArthurB on the Headless, it seems that in some part of the headless code, all the experiment of type batch are not taken into account.
Cheers

@chapuisk
Copy link

I can quote Gama headless :

for (final ExperimentDescription expD : experiments) {
	if (!expD.getLitteral(IKeyword.TYPE).equals(IKeyword.BATCH)) {
		final IExperimentJob tj = ExperimentJob.loadAndBuildJob(expD, model.getFilePath(), model);
		tj.setSeed(12);
		res.add(tj);
	}
}

In the branch we are working on with @RoiArthurB we try to build an xml file that take into account the (including batch) experiment define in .gaml model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants