initialconditions
Class CenterIC
java.lang.Object
initialconditions.InitialCondition
initialconditions.CenterIC
- public class CenterIC
- extends InitialCondition
An initial condition class that sets a middle cell to one value and then the
cells immediately surrounding that middle cell to a second value.
Input Parameters:
Node
Value
SurroundValue
XPos
YPos
Constructor Summary |
CenterIC()
|
CenterIC(java.lang.String n,
int x,
int y,
float init_value,
float surround_value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
noiseAware
public final boolean noiseAware
- See Also:
- Constant Field Values
CenterIC
public CenterIC()
CenterIC
public CenterIC(java.lang.String n,
int x,
int y,
float init_value,
float surround_value)
setModel
public void setModel(Cell[] cells)
- Overrides:
setModel
in class InitialCondition
loadParameter
protected void loadParameter(java.lang.String info,
BetterTokenizer tokenizer)
throws java.lang.Exception
- Overrides:
loadParameter
in class InitialCondition
- Throws:
java.lang.Exception
toString
public void toString(java.io.PrintWriter pw,
java.lang.String indent)
- Overrides:
toString
in class InitialCondition