Closed maelle closed 7 years ago
The functions fusesma.sim, fuserouting.sim and fuse do not generate internally the parameter sets but uses pre-defined ones because there are various ways of sampling the parameter ranges. The function generateParameters() only uses one of them (latin hypercube). For this reason, the parameter sets should be generated prior to using fuse and not within it.
But you still use a random seed before calling them, right? Not important though :-)
Sorry, I should have clarified that I only set the seed before running generateParameters
to have always the same parameters in my examples.
This issue is part of this JOSS review
Why not have the random seed as argument of
fusesma.sim
andfuserouting.sim
andfuse
(or offuse
only since it calls both other functions), with a default value, to make results reproducible even if the user forgets about the seed?