edu.ucla.stat.SOCR.experiments
Class MixtureEMExperiment
java.lang.Object
edu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.MultiplePartsPanel
edu.ucla.stat.SOCR.core.Experiment
edu.ucla.stat.SOCR.experiments.MixtureEMExperiment
- All Implemented Interfaces:
- IExperiment, IValueSettable, Pluginable, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.lang.Runnable, java.util.EventListener, java.util.Observer
public class MixtureEMExperiment
- extends Experiment
Method Summary |
void |
doExperiment()
This method defines what the experiment actually does, and should be
overridden |
java.lang.String |
getAppletInfo()
This method returns basic information about the applet, including copyright
information, descriptive informaion, and instructions. |
java.lang.String |
getName()
|
void |
reset()
This method is the default reset method, that resets the process to its
initial state. |
void |
update()
This method updates the display, including the ball panel, the record
table, and the random variable graph and table |
Methods inherited from class edu.ucla.stat.SOCR.core.Experiment |
actionPerformed, getDisplayPane, getInstance, getOnlineDescription, getResultTable, getStopChoice, getStopFreq, getTime, getUpdateChoice, graphUpdate, initialize, itemStateChanged, pasteData, resetUpdateCount, run, setShowModelDistribution, setStopFreq, setStopNow, step, stop |
Methods inherited from class edu.ucla.stat.SOCR.core.MultiplePartsPanel |
addGraph, addTable, addTool, addTool2, addToolbar, format, getMainPanel, getRecordTable, getTextPanel, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, play, removeToolbar, setApplet, setName, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nKernels
public javax.swing.JComboBox nKernels
selectmix
public javax.swing.JComboBox selectmix
EMswitch
public javax.swing.JComboBox EMswitch
selectSpeed
public javax.swing.JComboBox selectSpeed
RandomPoints
public javax.swing.JButton RandomPoints
ClearPoints
public javax.swing.JButton ClearPoints
InitializeKernel
public javax.swing.JButton InitializeKernel
CGMix
public edu.ucla.stat.SOCR.experiments.MixtureEMExperiment.CurvedGaussMixture CGMix
GLMix
public edu.ucla.stat.SOCR.experiments.MixtureEMExperiment.GaussLineMixture GLMix
ws
public double[] ws
ws2
public double[] ws2
EM_Thread
public volatile java.lang.Thread EM_Thread
cPanel
public edu.ucla.stat.SOCR.experiments.MixtureEMExperiment.ControlPanel cPanel
pCanvas
public edu.ucla.stat.SOCR.experiments.MixtureEMExperiment.PlotCanvas pCanvas
DB
public Database DB
xSize
public int xSize
ySize
public int ySize
MixtureEMExperiment
public MixtureEMExperiment()
reset
public void reset()
- Description copied from class:
Experiment
- This method is the default reset method, that resets the process to its
initial state. This method should be overridden.
- Specified by:
reset
in interface IExperiment
- Overrides:
reset
in class Experiment
getName
public java.lang.String getName()
- Specified by:
getName
in interface Pluginable
- Overrides:
getName
in class Experiment
- Returns:
- Returns the fName.
update
public void update()
- This method updates the display, including the ball panel, the record
table, and the random variable graph and table
- Specified by:
update
in interface IExperiment
- Overrides:
update
in class Experiment
doExperiment
public void doExperiment()
- Description copied from class:
Experiment
- This method defines what the experiment actually does, and should be
overridden
- Specified by:
doExperiment
in interface IExperiment
- Overrides:
doExperiment
in class Experiment
getAppletInfo
public java.lang.String getAppletInfo()
- This method returns basic information about the applet, including copyright
information, descriptive informaion, and instructions.
- Specified by:
getAppletInfo
in interface IExperiment
- Overrides:
getAppletInfo
in class Experiment