affectors
Class DecayAff
java.lang.Object
affectors.Affector
affectors.DecayAff
- All Implemented Interfaces:
- java.lang.Cloneable
- public class DecayAff
- extends Affector
This is the standard affector for decay of a Node. Use this for both intracellular
extracellular nodes. Each Node should have one of these unless its concentration is supposed
to stay completely fixed over time (for instance, some input that is external to the network
you're modeling).
Formula
dnodex/dt = -nodex / H_nodex
Parameters
Target [nodex] | The Node which is decaying |
Half-life [H_nodex] | The half-life of the Node. |
Usage
&nodex
&DecayAff nodex H_nodex
&endnodex
Fields inherited from class affectors.Affector |
ADesc, affectorType, CC, CERTIFICATION, CONVERSION, copyNumber, DEGRADATION, FF, firstFreeParam, GG, GUI_CAPABLE, HH, KK, MATHTYPE, NDesc, PDesc, PRODUCTION, RETURNS_DERIV, RETURNS_PARTIALS, TERMTYPE, TT, Type, UNSPECIFIED |
Methods inherited from class affectors.Affector |
addDefaultParam, Chi, clearStatic, copy_, copy, doesContainTarget, findOrCreateParam, findParam, fixNodes, getNodes, getNumNodes, getNumParameters, getOtherSide, getParameter, getParameter, getParamName, getParamPos, getParamValue, getParamValue, getParamVariationMode, init, isLinearInTarget, Phi, Psi, setContainsTarget, setDescriptions, setParameter, setParamRange, setParamRange, setParamValue, setParamValue, setSide, setSided |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecayAff
public DecayAff()
setLabelsAndTypes
protected void setLabelsAndTypes()
- Specified by:
setLabelsAndTypes
in class Affector
setParameterNumbers
public void setParameterNumbers(int[] param_nums)
- Specified by:
setParameterNumbers
in class Affector
getValue
public float getValue(Node which_node)
- Overrides:
getValue
in class Affector
getNCValue
public float getNCValue(Node which_node)
- Overrides:
getNCValue
in class Affector