On 04/11/15 10:38, Romain Reuillon wrote: > Hi Murat, > > you should handle that in the sampling, using the zipWithIndex method, > for instance: > > val exp = Val[Int] > > ((p1 in (...)) x (p2 in (...))) zipWithIndex exp > > Then exp will contain the index of each sampling in p1 x p2 starting from 0. >
you can find more details about zipWithIndex and the withIndex sampling here: http://www.openmole.org/current/Documentation_Language_Samplings.html#Zipsamplings J. > Romain > > Le 04/11/2015 08:56, Murat Yildizoglu a écrit : >> Hi, >> >> I can now run simulations for different configurations and save the >> corresponding values of the parameters and the results in the CSV >> file. I have also a column for the time period. >> >> I would also include an index that distinguishes different >> configurations (starting with 0 for example and increasing with each >> new configuration) >> and another one for the replications of the same experiment >> >> So I would have a structure similar to: >> >> exp repl period param variable >> 0 0 100 0.1 100 >> 0 1 100 0.1 150 >> 1 0 ....... >> 1 1 >> ......... >> >> How could I do that. >> I observe that I do not clearly understand yet the articulation of >> different components of a mole (variables, commands, tasks, CSV >> aoutput...). >> >> Sorry if this is a dumb question. >> >> Murat >> >> -- >> Prof. Murat Yildizoglu >> >> Note: Please use the following address as such >> >> UNIVERSITE DE BORDEAUX >> GREThA (UMR CNRS 5113) >> MURAT YILDIZOGLU >> 16 AVENUE LEON DUGUIT >> CS 50057 >> 33608 PESSAC CEDEX >> FRANCE >> >> Bureau : E-331 >> >> mail: murat.yildizoglu at u-bordeaux.fr <http://u-bordeaux.fr> >> >> web: <http://www.yildizoglu.fr>www.yildizoglu.fr >> >> >> _______________________________________________ >> OpenMOLE-users mailing list >> [email protected] >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users > > > > _______________________________________________ > OpenMOLE-users mailing list > [email protected] > http://fedex.iscpif.fr/mailman/listinfo/openmole-users > -- Jonathan Passerat-Palmbach, PhD Research Associate Department of Computing Imperial College London South Kensington Campus Huxley Building - room 344 180 Queen's Gate London SW7 2AZ
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ OpenMOLE-users mailing list [email protected] http://fedex.iscpif.fr/mailman/listinfo/openmole-users
