initialconditions
Class CenterIC

java.lang.Object
  extended byinitialconditions.InitialCondition
      extended byinitialconditions.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


Field Summary
 boolean noiseAware
           
 
Constructor Summary
CenterIC()
           
CenterIC(java.lang.String n, int x, int y, float init_value, float surround_value)
           
 
Method Summary
protected  void loadParameter(java.lang.String info, BetterTokenizer tokenizer)
           
 void setModel(Cell[] cells)
           
 void toString(java.io.PrintWriter pw, java.lang.String indent)
           
 
Methods inherited from class initialconditions.InitialCondition
changeValue, getLowerBound, getNodeName, getUpperBound, getValue, loadParameters, print, setFrom, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

noiseAware

public final boolean noiseAware
See Also:
Constant Field Values
Constructor Detail

CenterIC

public CenterIC()

CenterIC

public CenterIC(java.lang.String n,
                int x,
                int y,
                float init_value,
                float surround_value)
Method Detail

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