The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
154 views

Haskell Particle Simulation

I recently started learning Haskell and as my first project I decided to port a particle simulation I had written in C. The simulation is pretty simple. We have a cubic box with particles (spheres) ...
2
votes
0answers
85 views

Speed up a monte carlo simulation with nested loop

I would like to know if there is a more efficiency way to speed up below code. It uses a procedure where subsampling is required in the nested loop (which a previous answer ...
1
vote
0answers
107 views

Review: C++ Algo - Function

See Review: C++ Algo - Style I'm looking for a review of the function of this code, answers to the above question which also describes the code use focus on style instead. Below is the updated code ...
3
votes
2answers
194 views

Review: C++ Algo - Style

Can this code be reviewed? I've updated this question to be about code style only, as all of its answered focused on this aspect. For the codes function, see Review: C++ Algo - Function 'algo' is an ...
3
votes
1answer
285 views

Baseball game state class in python looking for feedback

So far, this is just a class that tracks the state of a baseball game. Unfortunately, I can't tell you for sure what the next step is. It might be a an interactive playable baseball game, or a game ...
1
vote
1answer
48 views

Is there a more efficient way to simulate in R, by exposition factor, gender and disease profile?

I started working with R recently and need to do a simulation for 100 000 people that divides them in exposition factor for a disease, gender and presence or absence of disease. My background info is ...
4
votes
2answers
267 views

Discrete event simulation with variable intervals

I've built a discrete event simulation system, similar to the bank problem presented on the wikipedia page but with a key difference. Let's say, that a TELLER can service two CUSTOMERS at the same ...