Skip to main content

Questions tagged [simulation]

Simulation is the imitation of some real thing, state of affairs, or process. The act of simulating something generally entails representing certain key characteristics or behaviours of a selected physical or abstract system.

0 votes
0 answers
61 views

I am creating a program to create digital twins of enterprises. I am using the Simpy framework for this purpose. I'm creating a universal system that can model almost any enterprise, but I have a ...
Андрей Александров's user avatar
6 votes
3 answers
978 views

How do I optimise my code more? The goal is to have my code work with more than 200 moving balls, but that takes forever right now and doesn't look smooth at all. Furthermore, I can't get the sizing ...
Theron_Isengard's user avatar
0 votes
0 answers
49 views

I have this R code for mediation analysis based on AFT. Can someone take a look? https://github.com/cristianricciwork-commits/aft-mediation..git I suggest to take a look at the .pptx (there are ...
Cristian ricci's user avatar
1 vote
2 answers
167 views

Intro This time, I was in the mood for concurrent programing (ProducerConsumerSimulation.java). To this end, I have ended up with the code below. My primary concerns are: Class design is trash, The ...
coderodde's user avatar
  • 32.3k
12 votes
4 answers
1k views

I've been giving my grade tens an introduction to computational phylogenomics, based around computing dissimilarity between DNA strands, and a simplified model of mutation. They've been exploring how ...
AkselA's user avatar
  • 223
7 votes
2 answers
854 views

I have made up some evolutionary rules for a type of cellular automaton that uses numbers instead of the more common binary black or white cells. Rules in English: Takes place on a square grid that ...
R1s1ble's user avatar
  • 171
5 votes
2 answers
556 views

Research paper: The Random Skipping Sequential (RSS) Monte Carlo algorithm The main algorithm described in the given link is a Random Skipping Sequential Monte Carlo Algorithm (RSS Algorithm) ...
user366312's user avatar
6 votes
1 answer
267 views

I've implemented the Simulated Bifurcation (SB) algorithm in C++, based on the method described in [2] (link to Science Advances). The goal of this algorithm is to find the ground state of an Ising ...
Amirhossein Rezaei's user avatar
2 votes
1 answer
194 views

Yatzy Yatzy is a dice rolling game where players aim to get particular die combinations. This program counts probability of each such combinations. They are: All five ones, All five twos, Same for ...
coderodde's user avatar
  • 32.3k
8 votes
2 answers
366 views

My program calculates the symbol error rate for various signal-to-noise ratio (SNR) and modulation orders using Monte Carlo simulation on Phase Shift Keying (PSK). How can it be improved? ...
unique's user avatar
  • 235
1 vote
1 answer
188 views

This time, I have prepared this page where a user may select what AI bots will be run in the game of Connect Four. The entire repository is here. Code index.html: <...
coderodde's user avatar
  • 32.3k
3 votes
5 answers
2k views

This is a program to solve a differential equation numerically using Euler method. As of now, it is very slow, and I need to run 10000 Monte Carlo simulations. The differential equation is called ...
Jonathan Wick's user avatar
3 votes
1 answer
99 views

I have a list of car models which I want to simulate by launching multiple instances of an external simulator executable. My application stores the current status of all the cars that are being ...
Harry's user avatar
  • 429
4 votes
1 answer
212 views

Years ago, I wrote some code in Perl for the Chutes and Ladders game. I re-wrote the code here in Python. The code simulates one player in a game to see how many spins of the dial are needed to win ...
toolic's user avatar
  • 16.4k
2 votes
3 answers
229 views

A friend posed to me a question to see if I could solve it. He says I solved it appropriately. I was hoping someone here could give me a review of the program I wrote to answer it. I figured it would ...
Dan's user avatar
  • 301

15 30 50 per page
1
2 3 4 5
26