Closed ihincks closed 7 years ago
Thanks, this looks like a very good start on #105! I'll look over and see if I have any concrete suggestions, but after a cursory look, I think it's great.
Before merging, I'd like to fix the Travis build error, though. It looks like it's unrelated to this PR, but is happening due to changes in QuTiP upstream; now that 4.0 is out, we should be able to make the doctest build more stable, so I'll go on and take care of that in a separate PR soon. Thanks!
This PR simply adds the new distribution
ParticleDistribution
and corresponding tests. All methods and properties ofSMCUpdater
which were (in my opinion) relevant to a bare particle distribution were copied over (but left intact). This is the first step of #105. The next step, in my view, is to implement the hierarchyParticleDistribution
>AbstractUpdater
>SMCUpdater
.It would be worthwhile for someone to compare the properties and methods of
ParticleDistribution
andSMCUpdater
to check if my choices are appropriate and comprehensive.[Sorry for all the whitespace changes my text editor did automatically]