|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.controls.AbstractCalculation
org.opensourcephysics.sip.ch14.ca.OneDimensionalAutomatonApp
public class OneDimensionalAutomatonApp
OneDimensionalAutomatonApp takes the decimal representation of a rule as input and produces the rule array. The rule array is computed in the updatemethod using periodic boundary conditions.
Field Summary |
---|
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation |
---|
control, decimalFormat, mainFrame |
Constructor Summary | |
---|---|
OneDimensionalAutomatonApp()
|
Method Summary | |
---|---|
void |
calculate()
Does the calculation. |
void |
iterate(int t,
int L)
|
static void |
main(java.lang.String[] args)
|
void |
reset()
Resets the program to its default state. |
void |
setRule(int ruleNumber)
|
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation |
---|
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneDimensionalAutomatonApp()
Method Detail |
---|
public void calculate()
AbstractCalculation
calculate
in interface Calculation
calculate
in class AbstractCalculation
public void iterate(int t, int L)
public void setRule(int ruleNumber)
public void reset()
AbstractCalculation
reset
in class AbstractCalculation
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |