01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.
This is about simple random walk (as defined in theory). Uses the cairo library. A ball walks randomly on the screen and leaves a trace behind.
Defined probability for the next step to walk is 0.5. Probabilities for left step and other parameters are pre-defined however someone can change them from inside the constructor at will. Accepted probabilities are from 0 to 1, also -1 is accepted, this indicates that the program choses on its own the probability for the next step to walk. The purpose of this is to show the the usage of cairo library!
The one direction use red color, the other blue color, and black color is used when the walk comes at the starting position. Predifined is 1000 steps and speed 400ms, after this a summary of the steps like a graph is shown on the screen. Other information are displayed on the screen like total count of steps, the current height (how far away is from the starting height), maximum, minimum height, statistical probability from walk history etc.
| Anhang | Größe |
|---|---|
| rw.JPG | 18.89 KB |
| walkGraphView.php_.txt | 15.36 KB |
Neueste Kommentare
vor 43 Wochen 6 Tage
vor 44 Wochen 5 Tage
vor 45 Wochen 2 Tage
vor 47 Wochen 5 Tage
vor 1 Jahr 16 Wochen
vor 1 Jahr 19 Wochen
vor 1 Jahr 23 Wochen
vor 1 Jahr 23 Wochen
vor 1 Jahr 23 Wochen
vor 1 Jahr 41 Wochen