TokenTrade 1.0
Copyright © 1998 Robert L. Turknett, Jr.
Instructions
Go/Stop
: Starts and stops the simulation
Step
: Updates the universe, one step at a time. Each time the button is pressed, one round of trading occurs.
Display
: Cycles between three different display modes.
Display Modes
- Red indicates happiness, blue indicates unhappiness. White indicates little change in satisfaction, or near-zero happiness. The size of a cell represents satisfaction. The brighter the color, the greater the change in satisfaction.
- Same as 1, with black indicating little change in satisfaction.
- Smiles indicate happiness, frowns indicate unhappiness. The fatness of the face represents satisfaction. The bigger the smile (or frown), the greater the change in satisfaction.
Edit Cells
: Allows the user to edit the parameter settings of selected cells. A group of cells must be selected with the mouse before pressing this button. There are five parameters that may be adjusted.
Cell Parameters
- Neighborhood Radius. The radius of a cell's neighborhood. A cell's neighborhood consists of all the cells with which the cell can trade.
- Max Trade Size. The maximum number of tokens from each category (x, y, z) that a cell can give away in a single trade.
- Max Endowment. The maximum number of tokens from each category (x, y, z) that a cell can be initially endowed with. Endowment is randomly determined, so this sets an upper limit.
- Fairness. The degree to which trades initiated by a cell must be fair. A fair trade is one that results in the same amount of happiness for both cells. A trade that makes one cell happy, while making the other cell less happy is unfair. Note that a cell's fairness applies only to those trades that it initiates. A cell with a fairness of 1.0 may still make an unfair trade with another cell, if the other cell is the one initiating the trade.
- Dissipation/Production Rate. The rate at which a cell consumes or produces tokens. Negative numbers are dissipation rates; positive numbers are production rates. A cells tokens are decreased or increased by this percentage with each round. When set to zero, the cell neither produces nor consumes tokens. Note that if a cell runs out of tokens, it can no longer produce tokens.
Stat
: Brings up a window showing the statistics of the current run. Three statistics, with corresponding graphs are shown. Universe statistics are updated every ten rounds. Also, double clicking on a cell will open an individual statistics window for that cell, updated every round.
Clear Stats: Resets the statistics and graphs.
Save Stats: Save stats to an ASCII file. Only works when applet security features are turned off in your browser.
Universe Statistics
- Average Satisfaction (S). The average satisfaction of all cells in the universe.
- Average Happiness (H). The average happiness of all cells in the universe.
- Omega (W). This statistic is an attempt to measure the complexity-and-organization of the universe. The current measure is rather crude, and a better measure is being developed. Contact the author for more information.
Size
: Changes the size of the universe. Size represents the number of cells along one dimension. Thus, a size of 10 represents a 10 x 10 universe. Note that larger universe sizes slow down the simulation, and require more memory to run.
Help
: Displays this information.
|