src/ReplicatingMoleculeForCombingExpt.java
/**
     * Calculate firing probability per potential per cycle
     * If time constant is zero, then calculate product of minPerCycle and maxFiringProbabillityPerMin
     * If time constant is not zero, approach maximum firing probability per cycle exponentially using value of time constant
     * @param parmas the parameters for DNA synthesis
     * @return firing probability per potential per cycle
     */
Calculate firing probability per potential per cycle
If time constant is zero, then calculate product of minPerCycle and maxFiringProbabillityPerMin
If time constant is not zero, approach maximum firing probability per cycle exponentially using value of time constant
@param parmas the parameters for DNA synthesis
@return firing probability per potential per cycle
Calculate firing probability per potential per cycle If time constant is zero then calculate product of minPerCycle and maxFiringProbabillityPerMin If time constant is not zero approach maximum firing probability per cycle exponentially using value of time constant @param parmas the parameters for DNA synthesis @return firing probability per potential per cycle
private double calculateFiringProbabilityForCycle(ParameterSet params) {  
        if (elapsedTime * params.getTimeConstant() > params.getMaxFiringProbabilityPerMin()) {return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin();}
        return params.getMinPerCycle() * elapsedTime * params.getTimeConstant();
    }
private double calculateFiringProbabilityForCycle ( ParameterSet params ) { if ( elapsedTime * params . getTimeConstant ( ) > params . getMaxFiringProbabilityPerMin ( ) ) { return params . getMinPerCycle ( ) * params . getMaxFiringProbabilityPerMin ( ) ; } return params . getMinPerCycle ( ) * elapsedTime * params . getTimeConstant ( ) ; }
Calculate firing probability per potential per cycle
 If time constant is zero, then calculate product of minPerCycle and maxFiringProbabillityPerMin
 If time constant is not zero, approach maximum firing probability per cycle exponentially using value of time constant
 @param parmas the parameters for DNA synthesis
 @return firing probability per potential per cycle
Calculate firing probability per potential per cycle If time constant is zero then calculate product of minPerCycle and maxFiringProbabillityPerMin If time constant is not zero approach maximum firing probability per cycle exponentially using value of time constant @param parmas the parameters for DNA synthesis @return firing probability per potential per cycle
//if (params.getTimeConstant() == 0 || elapsedTime > params.getTimeConstant()) {return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin();} //original //return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin() * (1 - Math.exp(-(elapsedTime + params.getMinPerCycle()) / params.getTimeConstant())); //return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin() * (1 - Math.exp(-elapsedTime / params.getTimeConstant())); //return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin() * elapsedTime / params.getTimeConstant(); //original //return params.getMinPerCycle() * params.getMaxFiringProbabilityPerMin() * elapsedTime * elapsedTime / (elapsedTime * elapsedTime + params.getTimeConstant());