This class models the graph of the simple random walk on the integer interval from 0 to n. The class has methods for getting and setting the time parameter, the probability of a step to the right, and the colors, and for getting the maximum value, the minimum value, the final value, and the time of the last zero. The class has methods for getting and setting Boolean variables that determine which of these quantities are shown. This object is used in the random walk experiment.
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.