Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Convert current structure to class based approach. #3

Open
Xaymar opened this issue Sep 6, 2014 · 0 comments
Open

Convert current structure to class based approach. #3

Xaymar opened this issue Sep 6, 2014 · 0 comments

Comments

@Xaymar
Copy link
Owner

Xaymar commented Sep 6, 2014

While the current approach is simple to use, it is not very flexible and requires reinitialization every time it is used. A better approach would be to convert it into a class based approach, allowing the distributor to be reused multiple times.

Some things need to be taken into account for this:

  • What will affect memory storage or trigger reallocation of resources?
  • When should we allocate resources? Immediately or only when distributing?
  • Should the RandomStream be reset or kept like it is? Maybe a seperate function to reset it?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant