affectors
Class ProductAff

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

public class ProductAff
extends EnhancerRegionAff
implements java.lang.Cloneable

This is a special "meta-affector". Rather than calculating something on its own, the ProductAff is a container for other affectors. It simply multiplies together the values of each affector contained within it. For instance, to add an inhibition to some other term, you might wrap the term in a ProductAff along with the PsiAff

Formula
dnodex/dt = SubAffector1 * SubAffector2 * ... * SubAffectorN

Parameters
No Parameters

Usage
&NODEX

&ProductAff
&[some_affector]
&[some_other_affector]
&endProductAff
&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
ProductAff()
           
 
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

ProductAff

public ProductAff()
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