org.simBio.sim.analyzer.csv.keep
Class ParamEvalKeeper
java.lang.Object
org.simBio.core.Component
org.simBio.core.Parameter
org.simBio.core.Composite
org.simBio.core.Analyzer
org.simBio.sim.analyzer.csv.result.AbstractAppender
org.simBio.sim.analyzer.csv.result.ALaCarte
org.simBio.sim.analyzer.csv.keep.ParamEvalKeeper
- All Implemented Interfaces:
- Node, IEvals, IKeys
public class ParamEvalKeeper
- extends ALaCarte
- implements IKeys, IEvals
Keep changing parameters and evaluaion values and write to csv.
- Version:
- $Id: ParamEvalKeeper.java,v 1.1 2007/12/18 04:55:58 mikaelwing Exp $
- Author:
- Nobuaki Sarai
Fields inherited from class org.simBio.sim.analyzer.csv.result.ALaCarte |
targets_ |
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 |
parameters
public Component parameters
- targetsの中の最初にある、変化させてるパラメータの数。残りのtargetは評価値と見なす。
paramPrefix
public Component paramPrefix
- parameter名の頭に付ける親の名前の数
evalPrefix
public Component evalPrefix
- 評価値名の頭に付ける親の名前の数
ParamEvalKeeper
public ParamEvalKeeper()
prepare
protected void prepare()
- set parameter number.
- Overrides:
prepare
in class ALaCarte
- See Also:
ALaCarte.prepare()
getKeyLabels
public java.lang.String[] getKeyLabels()
- Specified by:
getKeyLabels
in interface IKeys
- Returns:
- パラメータの名前を、親の名前をprefix個含んだ名前の配列として返す。
getKeys
public double[] getKeys()
- Specified by:
getKeys
in interface IKeys
- Returns:
- 現在のパラメータ値の配列
getEvalLabels
public java.lang.String[] getEvalLabels()
- Specified by:
getEvalLabels
in interface IEvals
- Returns:
- 評価値の名前を、親の名前をprefix個含んだ名前の配列として返す。
getEvals
public double[] getEvals()
- Specified by:
getEvals
in interface IEvals
- Returns:
- 評価値の配列。
Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.