org.simBio.sim.analyzer.measure
Class AmplitudeInCycle

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.Composite
              extended by org.simBio.core.Analyzer
                  extended by org.simBio.sim.analyzer.measure.AbstractMeasure
                      extended by org.simBio.sim.analyzer.measure.AmplitudeInCycle
All Implemented Interfaces:
Node

public class AmplitudeInCycle
extends AbstractMeasure

get the difference between the maximum and minimum value of the target in a cycle.

Version:
$Id: AmplitudeInCycle.java,v 1.1 2007/12/15 07:21:54 nsarai Exp $
Author:
Nobuaki Sarai

Field Summary
 double cycle
          cycle
 Node maximum
          maximum value of the target
 Node minimum
          minimum value of the target
 double scale
          scaling factor
 Node target
          to analyze
 
Fields inherited from class org.simBio.sim.analyzer.measure.AbstractMeasure
interval, offset, onset
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
AmplitudeInCycle()
           
 
Method Summary
protected  void end()
          called at the end of integration,
計算終了時に呼ばれます。
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.sim.analyzer.measure.AbstractMeasure
analyze
 
Methods inherited from class org.simBio.core.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField
 
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
 
Methods inherited from interface org.simBio.core.Node
addDydt, addValue, getValue, setValue
 

Field Detail

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


cycle

public double cycle
cycle

Constructor Detail

AmplitudeInCycle

public AmplitudeInCycle()
Method Detail

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()
Description copied from class: Component
called at the end of integration,
計算終了時に呼ばれます。

Overrides:
end in class Component
See Also:
Component.end()


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.