stoppers
Class FindMaxRatioStop

java.lang.Object
  extended bystoppers.SimpleStop
      extended bystoppers.FindMaxRatioStop

public class FindMaxRatioStop
extends SimpleStop

A stopper that measures the maximum ratio between a node's concentration in two different cells over some time. To avoid large ratio's simply do to very small concentrations, the ratio is calculated as (C(1) + epsilon) / (C(2) + epsilon) where epsilon is some small value.


Constructor Summary
FindMaxRatioStop()
           
FindMaxRatioStop(float stop_time)
           
 
Method Summary
 boolean didPass()
           
 boolean didPass(float s)
           
protected  void loadParameter(java.lang.String info, BetterTokenizer tokenizer)
           
 boolean stop(float time)
           
 
Methods inherited from class stoppers.SimpleStop
computeStripeScore, getHowStable, getScore, getStopTime, init, initCells, loadParameters, reset, 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

FindMaxRatioStop

public FindMaxRatioStop()

FindMaxRatioStop

public FindMaxRatioStop(float stop_time)
Method Detail

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

loadParameter

protected void loadParameter(java.lang.String info,
                             BetterTokenizer tokenizer)
                      throws java.lang.Exception
Overrides:
loadParameter in class SimpleStop
Throws:
java.lang.Exception