stoppers
Class FindMaxRatioStop
java.lang.Object
stoppers.SimpleStop
stoppers.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.
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 |
FindMaxRatioStop
public FindMaxRatioStop()
FindMaxRatioStop
public FindMaxRatioStop(float stop_time)
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