Why does the model have a random seed at all, if the idea is not to use it
until `model.simulator()`?

I thought the idea was to have only one place to set a default "whole
model" seed and that place was `model.simulator(seed=1)`


On Wed, Oct 16, 2013 at 12:02 PM, Trevor Bekolay
<notifications@github.com>wrote:

> In nengo/model.py:
>
> > @@ -212,6 +220,15 @@ def simulator(self, dt=0.001, sim_class=simulator.Simulator, **sim_args):
> >              Fundamental unit of time for the simulator, in seconds.
> >          sim_class : child class of `Simulator`, optional
> >              The class of simulator to be used.
> > +        model_seed : int, optional
> > +            Random number seed to overwrite the model.seed property of the
> > +            generated model. This allows the new model's seed to be different
> > +            from the original model's seed.
>
> Okay I've read through it all now so I think I have a better understanding
> of it. I still think that we shouldn't have two ways to do the same thing.
> It makes it seem like they do two different things, even though they don't.
> On the other hand, setting seed in simulator does actually do something
> different. I think it'd be better to not make this possible in the
> simulator function; yes, it means that you would have to do
>
> model.seed = 872sim1 = model.simulator()model.seed = 873sim2 = model.simulator()
>
> But one extra line isn't worth the possible confusion of thinking that
> Model.seed and model.simulator(model_seed) refer to different seeds.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ctn-waterloo/nengo/pull/170/files#r7006129>
> .
>