package affectors; import main.Node; import main.Globals; /** This is one half of an affector that cleaves a single node into two other nodes. Use this affector in each of the product species. Use the A version in the uncleaved species.
Formula
dNODEX/dt = CMax * SUBSTRATE * ( (ACTIVATOR ^ nu) / ( K ^ nu + ACTIVATOR ^ nu) )
Parameters
Substrate [SUBSTRATE] | The uncleaved Node |
Activator [ACTIVATOR] | The regulator Node which is activating cleavage |
Kappa [K_ACTIVATOR_SUBSTRATE] | The level of the activator at which it acts half-maximally. |
nu [nu_ACTIVATOR_SUBSTRATE] | Cooperativity of the activation term. |
CMax [CMax_SUBSTRATE] | Maximal rate of cleavage. |
Usage
*/
public class CleavageB_ICAff extends Affector {
/** The level of activator at which the cleavage reaction proceeds half-maximally. */
int kappaParam;
/** The cooperativity exponent for activation. */
int nuParam;
/** The maximal rate of cleavage. */
int cMaxParam;
static final String desc = "Intracellular cleavage of a substrate, regulated by an activator; version B for substrate";
static final String [] nodeDescriptions = {"Uncleaved substrate", "Activator of cleavage"};
static final String [] paramDescriptions = {"Kappa: half-maximal activity of the activator of cleavage",
"nu: cooperativity of activating term",
"Cmax: maximal rate of cleavage"};
public CleavageB_ICAff() {}
protected void setLabelsAndTypes() {
setDescriptions(this.desc, nodeDescriptions, paramDescriptions);
this.Type[GUI_CAPABLE] = 1;
this.Type[CERTIFICATION] = Affector.RETURNS_DERIV;
this.Type[MATHTYPE] = Affector.FF;
this.Type[TERMTYPE] = Affector.CONVERSION;
}
public void setParameterNumbers(int [] param_nums)
{
kappaParam = param_nums[0];
nuParam = param_nums[1];
cMaxParam = param_nums[2];
}
public float getValue(Node which_node) {
float total_cleaver = Nodes[1].getIntegrationValue();
float source = Nodes[0].getIntegrationValue();
float theTerm = params[cMaxParam] * source *
Phi(total_cleaver, params[kappaParam], params[nuParam]);
return Globals.characteristicTime * theTerm;
}
}
&CLEAVED_NODE
&CleavageB_IC SUBSTRATE ACTIVATOR K_ACTIVATOR_SUBSTRATE nu_ACTIVATOR_SUBSTRATE C_SUBSTRATE
&endCLEAVED_NODE