stoppers
Class CellSurroundStop

java.lang.Object
  extended bystoppers.SimpleStop
      extended bystoppers.CellSurroundStop

public class CellSurroundStop
extends SimpleStop

A stopper that looks for a single cell with a high value of a Node, surrounded by cells with low values of that Node. The code in here borrows liberally from the Oscillating Stripe Stop. It should give the best score to a stable, non-oscillating single cell with a high value whose neighbors all have a low value for that Node.


Constructor Summary
CellSurroundStop()
           
CellSurroundStop(float stop_time)
           
 
Method Summary
protected  void loadParameter(java.lang.String info, BetterTokenizer tokenizer)
           
 void reset()
           
 float scoreBullseye(Cell[] cells, float time)
           
 boolean stop(float time)
           
 
Methods inherited from class stoppers.SimpleStop
computeStripeScore, didPass, didPass, getHowStable, getScore, getStopTime, init, initCells, loadParameters, saveOutput, saveOutputTags, setCutoff, setEvaluating, setStopTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellSurroundStop

public CellSurroundStop()

CellSurroundStop

public CellSurroundStop(float stop_time)
Method Detail

stop

public boolean stop(float time)
Overrides:
stop in class SimpleStop

scoreBullseye

public float scoreBullseye(Cell[] cells,
                           float time)

reset

public void reset()
Overrides:
reset 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