]> The Voter Experiment

The Voter Experiment

This applet requires the latest version of the Java plug-in. Please check your browser settings to make sure that Java applets are allowed. Visit the Java site to download and install the latest plug-in.

Description

We have an m by n rectangular lattice of sites (referred to as voters):

V 0 1 m 1 0 1 n 1

Each element of V has four neighbors; the neighbors of i j are

i 1 j i j j i j 1 i j 1

where the arithmetic operations in the first coordinate are interpreted modulo m :

and where the arithmetic operations in the second coordinate are interpreted modulo n :

With this neighborhood structure, our set of sites is topologically a torus, a doughnut-shaped surface.

Each site can be in any of 10 different states, denoted by the colors black, blue, cyan, green, purple, orange, pink, red, white, yellow. Initially, the each site is randomly given one of the colors. However, you can set the state of a site by selecting the desired color in the list box and then clicking on the site.

Time is discrete, and the dynamics of the voter process are as follows: at each time t ,

  1. A site is chosen at random (each site is equally likely to be chosen),
  2. A neighbor of this site is chosen at random.
  3. The state of the selected site is changed to the state of the selected neighbor.

You can change the neighbor selection probabilities by clicking on the button in the parameter toolbar to bring up the probability dialog box. Type the probabilities into the text boxes, but be sure to press enter after typing each probability. Also, you can choose either a 10 by 5 lattice, a 20 by 10 lattice, or a 50 by 25 lattice. The voters are shown graphically in the large center box. At each update, the counts for each state are recorded in the table. In addition to the usual stop options, the simulation can be set to stop whenever a color is eliminated.