affectors
Class SumAff

java.lang.Object
  extended byaffectors.Affector
      extended byaffectors.EnhancerRegionAff
          extended byaffectors.SumAff
All Implemented Interfaces:
java.lang.Cloneable

public class SumAff
extends EnhancerRegionAff
implements java.lang.Cloneable

This is a special "meta-affector". Rather than calculating something on its own, the SumAff is a container for other affectors. It simply adds together the values of each affector contained within it, with a scaling factor giving the relative weights of each subaffector. Note that for adding transcriptional activators you should use MultiEnhancer.

Formula
dnodex/dt = alpha1 * SubAffector1 + alpha2 * SubAffector2 + ... + alphaN * SubAffectorN

Parameters
There needs to be one alpha parameter per subaffector. The alphas give the relative weights of each subaffectors contribution to the total value.

Usage
&NODEX

&SumAff alpha_aff1 alpha_aff2
&[an affector]
&[another affector]
&endSumAff
&endNODEX


Field Summary
 
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
 
Constructor Summary
SumAff()
           
 
Method Summary
 Affector copy()
           
 float getNCValue(Node which_node)
          Overrides Affector.getNCValue() to multiply together the values from all the subsidiary affectors.
 float getValue(Node which_node)
          Overrides Affector.getValue() to multiply together the values from all the subsidiary affectors.
protected  void setLabelsAndTypes()
          half life param
 void setParameterNumbers(int[] param_nums)
           
 
Methods inherited from class affectors.EnhancerRegionAff
addAffector, getNodes, getSubaffector, setSide
 
Methods inherited from class affectors.Affector
addDefaultParam, Chi, clearStatic, copy_, doesContainTarget, findOrCreateParam, findParam, fixNodes, getNumNodes, getNumParameters, getOtherSide, getParameter, getParameter, getParamName, getParamPos, getParamValue, getParamValue, getParamVariationMode, init, isLinearInTarget, Phi, Psi, setContainsTarget, setDescriptions, setParameter, setParamRange, setParamRange, setParamValue, setParamValue, setSided
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SumAff

public SumAff()
Method Detail

setLabelsAndTypes

protected void setLabelsAndTypes()
Description copied from class: EnhancerRegionAff
half life param

Overrides:
setLabelsAndTypes in class EnhancerRegionAff

setParameterNumbers

public void setParameterNumbers(int[] param_nums)
Overrides:
setParameterNumbers in class EnhancerRegionAff

getValue

public float getValue(Node which_node)
Overrides Affector.getValue() to multiply together the values from all the subsidiary affectors.

Overrides:
getValue in class EnhancerRegionAff

getNCValue

public float getNCValue(Node which_node)
Overrides Affector.getNCValue() to multiply together the values from all the subsidiary affectors.

Overrides:
getNCValue in class EnhancerRegionAff

copy

public Affector copy()
Overrides:
copy in class EnhancerRegionAff