heal-research / SimSharp

Sim# is a .NET port of SimPy, process-based discrete event simulation framework
MIT License
126 stars 30 forks source link

Refactor drawing from random distributions #38

Closed abeham closed 2 years ago

abeham commented 2 years ago

Currently there are a range of RandXYZ instance methods in the Simulation class that processes can use to obtain random numbers from a range of distributions.

This should be refactored to move the implementation of drawing from statistical distributionst to separate classes and potentially have an IDistribution interface (perhaps distinguishing between continuous and discrete distributions).

abeham commented 2 years ago

done in PR #39