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.

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: www.yildizoglu.fr <http://www.yildizoglu.fr>
>
>
> _______________________________________________
> OpenMOLE-users mailing list
> [email protected]
> http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to