public class PokerDiceExperiment extends Experiment
MultiplePartsPanel.SOCRToolBar
showModelDistribution
applet, 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, stop
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, setApplet, setName, update
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setApplet
public PokerDiceExperiment()
public void doExperiment()
doExperiment
in interface IExperiment
doExperiment
in class Experiment
public void step()
step
in interface IExperiment
step
in class Experiment
public void reset()
reset
in interface IExperiment
reset
in class Experiment
public void update()
update
in interface IExperiment
update
in class Experiment
public void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged
in interface java.awt.event.ItemListener
itemStateChanged
in class Experiment
public int evaluateHand()