fern.network
Interface PartialDerivativePropensityCalculator

All Superinterfaces:
PropensityCalculator
All Known Implementing Classes:
AbstractKineticConstantPropensityCalculator, ArrayKineticConstantPropensityCalculator

public interface PartialDerivativePropensityCalculator
extends PropensityCalculator


Method Summary
 double calculatePartialDerivative(int reaction, AmountManager amount, int reactantIndex, double volume)
          Calculates partial differentials of the propensity functions for the tau leaping methods.
 
Methods inherited from interface fern.network.PropensityCalculator
calculatePropensity
 

Method Detail

calculatePartialDerivative

double calculatePartialDerivative(int reaction,
                                  AmountManager amount,
                                  int reactantIndex,
                                  double volume)
Calculates partial differentials of the propensity functions for the tau leaping methods. If a positive value for volume is given, it is assumed that the constants are deterministic rate constants and are hence transformed to specific reaction rate constants.

Parameters:
reaction - the reaction index
amount - the AmountManager
reactantIndex - the network index of the reactant to calculate the partial differential for
volume - the volume of the reaction space
Returns:
partial differential