simulation

Writing A "Conway's Game of Life" Program

Alright, so I've always wanted to write myself a nice little Game of Life program where you could play with the rules and adjust the number of cells and such; I've just never really had the time to mess around to do this (until recently). I understand the basic algorithm and such (if you don't, go to the Game of Life Wikipedia page to c...

How do i generate a histogram for a given probability distribution (for functional testing a server)

I am trying to automate functional testing of a server using a realistic frequency distribution of requests. (sort of load testing, sort of simulation) I've chosen the Weibull distribution as it "sort of" matches the distribution I've observed (ramps up quickly, drops off quickly but not instantly) I use this distribution to generate t...

VMware ESX vs. VMware Workstation

I'm using VMware Workstation 6.0 for simulation of tight clusters of "blades" in a "chassis". Both the host and target OSs are Linux. Each "chassis" uses a vmnet switch as a virtual backplane, to which the virtual blades connect. Other vmnet switches are used to mediate point-to-point connections between mutiple virtual ethernet adapters...

bandwidth and traffic simulator for web apps ?

hi there :P can you suggest how to create a test enviroment to simulate various types of bandwidths and traffic in a web app ? Or maybe a program open source wich does this against localhost ? I think this is a very important subject when programming web apps but it is not a usual topic, the only way i can imagine to create such kind o...

Considerations about a simulation game

The kind of simulation game that I have in mind is the kind where you have things to build in various locations and workers/transporters that connect such locations. Something more like the Settlers series. Let's assume I don't want any graphics at the moment, that I think I can manage. So my doubts are the following: Should every e...

Selecting proper toolkit for a 2D simulation project in Java.

I am looking for a toolkit that will allow me to design widgets containing 2D graphics for an elevator simulation in Java. Once created, those widgets will be integrated with SWT, Swing, or QtJambi framework. Background information: I am developing an Elevator Simulator for fun. My main goal is to increase my knowledge of Java, Eclips...

Tools for simulating and developing hardware and protocols

I want to dabble in the design of hardware and protocols, specifically for wireless mesh networking. Is there a software-based alternative to getting an FPGA setup and writing code for it? Are there any tools well-suited for coding/designing the protocol(s) for such a device? Clarification: I'm looking for free and preferably open sourc...

Robot simulation environments

I would like to make a list of remarkable robot simulation environments including advantages and disadvantages of them. Some examples I know of are Webots and Player/Stage. ...

Network simulator?

Do you know of software which is capable of emulating networking conditions such as constrained bandwidth, latency, closed ports, congestion, collision? Platform-specific is fine, but I'd like to be able to emulate hundreds or thousands of nodes under varying network conditions. ...

No drop packets using the error models for wirelesss scenario ?

I am trying to use the error model in ns2 with wireless links, I am using ns2.33. I tried the uniform error model and the markov chain model. No errors from ns but when I am trying to find the dropped packets due to corruption I can not find any of them using either the uniform or markov models. So please help me if I made any error in ...

How can I monitor a flow over wireless connection ?

I am trying to monitor a tcp flow using flow monitor. attach-fmon wants link object which is not available in wireless connections, how can I solve this problem ? are there any other solutions ? My code is here http://pastebin.com/f59241692 I got this error message eid@eid-laptop:~/code/ns2/noisy$ ns mixed.tcl num_nodes is set 3 INITI...

USARSim tutorial

Hello all, does anyone know a good USARsim tutorial? how to use it, install it etc? the document from http://usl.sis.pitt.edu/wjj/USAR/Release/USARsim-manual.pdf is somewhat chaotic... Thanks, Lucian ...

How would I approach building a results predictor for a Football Management sim ?

I'm looking for some food-for-thought on how games like Football Manager and Championship Manager achieve a fairly high level of realism when it comes to simulating realistic scorelines. I am conscious that some of these algorithms would probably fill shelves but I'm looking for a more lucid overview. Even some pseudocode which outlines...

How do you profile/optimize a simulation tool?

In the past, and intermittently now, I've used simulation tools like Easy Java Simulations and NetLogo. They are great tools for visually modeling various mathematical/comp-sci concepts because "all you have to do" is write the simulation loop - the graphics, etc are handled for you. However, one thing I have noticed is that improving ...

Mediums to try out algorithms?

By definition algorithms are independent from the medium they run on. E.g. I use Excel tables to play with data structures and to do some move/shuffling/marking experiments before implementing an algorithm in a programming language. What tools and techniques do you use to design and simulate the function of an algorithm? How do you use...

Event-driven simulation class

I am working through some of the exercises in The C++ Programming Language by Bjarne Stroustrup. I am confused by problem 11 at the end of Chapter 12: (*5) Design and implement a library for writing event-driven simulations. Hint: <task.h>. ... An object of class task should be able to save its state and to have that state restored s...

Computer simulation of the Evolution process.

Does anybody know about the scientifically based computer simulation of the Evolution process on Earth? Have the attempts been made to come up with such simulation, and what is the result? ...

Stubbing functions in simulations

I'm working on an embedded C project that depends on some external HW. I wish to stub out the code accessing these parts, so I can simulate the system without using any HW. Until now I have used some macros but this forces me to change a little on my production code, which I would like to avoid. Example: stub.h #ifdef _STUB_HW #define ...

Algorithms for Simulating Fluid Flow

I've got a game idea that requires some semi-realistic simulation of a fluid flowing around various objects. Think of a pool of mercury on an irregular surface that is being tilted in various directions. This is for a game, so 100% physical realism is not necessary. What is most important is that the calculations can be done in real t...

Interpreting assembly code

Any assembly interpreters out there? What I'm looking for: I have some assembly firmware code I want to run, but not on the actual hardware. I would like to run the code and see what it is doing. So, is there some sort of free and easy to use assembly simulator out there? Any other pointers you can think of? ...