org.simBio.sim.analyzer.csv.keep
Class TimeSeriesKeeper
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.csv.keep.TimeSeriesKeeper
- All Implemented Interfaces:
- Node, ITimeSeries
public class TimeSeriesKeeper
- extends AbstractMeasure
- implements ITimeSeries
Keep time series data and write to csv.
- Version:
- $Id: TimeSeriesKeeper.java,v 1.1 2007/12/18 04:55:58 mikaelwing Exp $
- Author:
- Nobuaki Sarai
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 |
targets_
protected java.util.List targets_
elapsedTime
public Node elapsedTime
TimeSeriesKeeper
public TimeSeriesKeeper()
MakeLabelLine
protected void MakeLabelLine()
- prepare XYSeries for each target.
- See Also:
CsvMaker.MakeLabelLine()
MakeValueLine
protected void MakeValueLine()
- set target value at the XYSeries.
- See Also:
CsvMaker.MakeValueLine()
getXYSeriesCollection
public XYSeriesCollection getXYSeriesCollection()
- Specified by:
getXYSeriesCollection
in interface ITimeSeries
- Returns:
- collection of x, y series data
getXYSeriesLabel
public java.lang.String getXYSeriesLabel()
- Specified by:
getXYSeriesLabel
in interface ITimeSeries
- Returns:
- csv file name
- See Also:
ITimeSeries.getXYSeriesLabel()
measure
protected void measure(double t)
- Specified by:
measure
in class AbstractMeasure
- Parameters:
t
- elapsed time
prepare
protected void prepare()
- Description copied from class:
Parameter
- 親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。
- Overrides:
prepare
in class AbstractMeasure
- See Also:
Component.prepare()
end
protected void end()
- Description copied from class:
Component
- called at the end of integration,
計算終了時に呼ばれます。
- Overrides:
end
in class Component
Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.