Hi,

I'm trying to get a vector of independant seed corresponding to one
replication.

Model need four independent seed to works :

val s = Val[Long]
val sDot = Val[Long]
val sT = Val[Long]
val sDt = Val[Long]
val tremble = Val[Double]

I want sampling like that *(tremble in (0.0 to 1.0 by 0.20)) x ( s, sDot,
sT, sDt in  (UniformDistribution[Long]() take 4))*

I try something like this, but it's seems false, any idea ?

val exploration =
  ExplorationTask(
    (tremble in (0.0 to 1.0 by 0.20)) x
    (s in (UniformDistribution[Long]() take 1),
     sDot in (UniformDistribution[Long]() take 1),
     sT in (UniformDistribution[Long]() take 1),
     sDt in (UniformDistribution[Long]() take 1))
  )

val templateTask =
    TemplateFileTask(workDirectory / "parameters.xml", fileoutput) set (
      inputs += s,
      inputs += sDot,
      inputs += sT,
      inputs += sDt,
      inputs += tremble,
}

Thanks,
Best R.


-- 
<http://stackoverflow.com/users/385881/reyman64>
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to