public class PokerDiceExperiment extends Experiment
MultiplePartsPanel.SOCRToolBarshowModelDistributionapplet, fName, graphs, mainPane, recordTable, tables, toolbar, toolbar2, toolbars| Constructor and Description |
|---|
PokerDiceExperiment()
Initialize the experiment: graphs, tables, dice
|
| Modifier and Type | Method and Description |
|---|---|
void |
doExperiment()
This method defines the experiment.
|
int |
evaluateHand()
Evaluate the hand
|
void |
itemStateChanged(java.awt.event.ItemEvent event)
This method causes the experiment to stop when the hand is a certain
value.
|
void |
reset()
Reset the experiment
|
void |
step()
This method runs the the experiment one time, and add sounds depending on
the outcome of the experiment.
|
void |
update()
Update the display
|
actionPerformed, getAppletInfo, getDisplayPane, getInstance, getName, getOnlineDescription, getResultTable, getStopChoice, getStopFreq, getTime, getUpdateChoice, graphUpdate, initialize, resetUpdateCount, run, setShowModelDistribution, setStopFreq, setStopNow, stopaddGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, setApplet, setName, updatecreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSettersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAppletpublic PokerDiceExperiment()
public void doExperiment()
doExperiment in interface IExperimentdoExperiment in class Experimentpublic void step()
step in interface IExperimentstep in class Experimentpublic void reset()
reset in interface IExperimentreset in class Experimentpublic void update()
update in interface IExperimentupdate in class Experimentpublic void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListeneritemStateChanged in class Experimentpublic int evaluateHand()