org.simBio.sim.analyzer.measure
Class AbstractMeasure

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
All Implemented Interfaces:
Node
Direct Known Subclasses:
Amplitude, AmplitudeInCycle, APDforSA, HR, LeadPotential, Limitter, PeakDetect, RelationGraph_LP, Sum, TimeSeriesKeeper, VmaxTime

public abstract class AbstractMeasure
extends Analyzer

Measuring.

Version:
$Id: AbstractMeasure.java,v 1.2 2007/10/29 01:40:44 nsarai Exp $
Author:
Nobuaki Sarai

Field Summary
 double interval
           
 double offset
           
 double onset
           
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
AbstractMeasure()
           
 
Method Summary
protected  void analyze(double t)
          Please implements this Method to manipulate Nodes.
protected abstract  void measure(double t)
           
protected  void prepare()
          親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。
 
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, end, 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

interval

public double interval

onset

public double onset

offset

public double offset
Constructor Detail

AbstractMeasure

public AbstractMeasure()
Method Detail

analyze

protected void analyze(double t)
Description copied from class: Analyzer
Please implements this Method to manipulate Nodes. This Method is called every time step from Conductor.

Specified by:
analyze in class Analyzer
Parameters:
t - time
See Also:
Conductor.integrate()

measure

protected abstract void measure(double t)
Parameters:
t - elapsed time

prepare

protected void prepare()
Description copied from class: Parameter
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。

Overrides:
prepare in class Parameter
See Also:
Component.prepare()


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