org.simBio.sim.analyzer.measure
Class Amplitude
java.lang.Object
org.simBio.core.Component
org.simBio.core.Parameter
org.simBio.core.Composite
org.simBio.core.Analyzer
org.simBio.sim.analyzer.measure.AbstractMeasure
org.simBio.sim.analyzer.measure.Amplitude
- All Implemented Interfaces:
- Node
public class Amplitude
- extends AbstractMeasure
get the difference between the maximum and minimum value of the target.
- Version:
- $Revision: 1.2 $
- Author:
- Sarai
Method Summary |
protected void |
end()
apply scaling factor and substract minimum from maximum. |
protected void |
measure(double t)
keep the maximum and the minimum value of the target. |
protected void |
prepare()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
Methods inherited from class org.simBio.core.Component |
addDydt, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
public Node target
- to analyze
maximum
public Node maximum
- maximum value of the target
minimum
public Node minimum
- minimum value of the target
scale
public double scale
- scaling factor
Amplitude
public Amplitude()
prepare
protected void prepare()
- Description copied from class:
Parameter
- 親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。
- Overrides:
prepare
in class AbstractMeasure
- See Also:
Component.prepare()
measure
protected void measure(double t)
- keep the maximum and the minimum value of the target.
- Specified by:
measure
in class AbstractMeasure
- Parameters:
t
- elapsed time- See Also:
AbstractMeasure.measure(double)
end
protected void end()
- apply scaling factor and substract minimum from maximum.
when onset never comes, store current value of the target.
- Overrides:
end
in class Component
- See Also:
Component.end()
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.