stoppers
Class NeuroNoiseStop
java.lang.Object
stoppers.SimpleStop
stoppers.NeuroNoiseStop
- public class NeuroNoiseStop
- extends SimpleStop
Specially made stopping class for exploring switching behavior in the neurogenic network.
The idea behind this stopper is that the AC/SC switch ought to through two neighboring
cells in opposite directions, assuming they start at different concentrations. So the
second and third cell in the second row are assumed to be a lower and higher init concentration
cell respectively. Then the stopper looks to see if the higher cell ends up above the
high threshold and the lower cell ends below the low threshold. Also, since this should
occur because of the switching and not just because they started on either side of
some threshold, the fifth cell in the row is assumed to start at the low init concentration
and the whole thing is only a success if cell 2 = low, cell 3 = high, cell 5 = high.
Method Summary |
boolean |
didPass()
|
boolean |
didPass(float s)
|
void |
init(Model model)
|
protected void |
loadParameter(java.lang.String info,
BetterTokenizer tokenizer)
|
void |
reset()
|
void |
saveOutput(java.io.PrintWriter ps,
java.lang.String inset)
This function is called to save information to a cam file. |
void |
saveOutputTags(java.io.PrintWriter ps,
java.lang.String inset)
This function is called when a cam file is being set up. |
boolean |
stop(float time)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeuroNoiseStop
public NeuroNoiseStop()
NeuroNoiseStop
public NeuroNoiseStop(float stop_time)
init
public void init(Model model)
- Overrides:
init
in class SimpleStop
stop
public boolean stop(float time)
- Overrides:
stop
in class SimpleStop
didPass
public boolean didPass(float s)
- Overrides:
didPass
in class SimpleStop
didPass
public boolean didPass()
- Overrides:
didPass
in class SimpleStop
reset
public void reset()
- Overrides:
reset
in class SimpleStop
saveOutputTags
public void saveOutputTags(java.io.PrintWriter ps,
java.lang.String inset)
- Description copied from class:
SimpleStop
- This function is called when a cam file is being set up. See ModelIterator for
more information.
- Overrides:
saveOutputTags
in class SimpleStop
saveOutput
public void saveOutput(java.io.PrintWriter ps,
java.lang.String inset)
- Description copied from class:
SimpleStop
- This function is called to save information to a cam file. See ModelIterator
for more information.
- Overrides:
saveOutput
in class SimpleStop
loadParameter
protected void loadParameter(java.lang.String info,
BetterTokenizer tokenizer)
throws java.lang.Exception
- Overrides:
loadParameter
in class SimpleStop
- Throws:
java.lang.Exception