Simulation Core Library

org.simulator.sbml.astnode
Class StoichiometryValue

java.lang.Object
  extended by org.simulator.sbml.astnode.StoichiometryValue

public class StoichiometryValue
extends Object

Computes for a SpeciesReference with a stoichiometry occuring in some Reaction the stoichiometry.

Version:
$Rev: 205 $
Author:
Roland Keller

Constructor Summary
StoichiometryValue(SpeciesReference sr, int speciesRefIndex, Map<String,Double> stoichiometricCoefHash, double[] Y, ASTNodeValue stoichiometryMathValue)
           
 
Method Summary
 double compileDouble(double time)
          Computes the value of the stoichiometry at the current time if it has not been computed yet or is not constant.
 double getStoichiometry()
           
 boolean getStoichiometrySet()
           
 void refresh()
          Refreshes the stoichiometry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoichiometryValue

public StoichiometryValue(SpeciesReference sr,
                          int speciesRefIndex,
                          Map<String,Double> stoichiometricCoefHash,
                          double[] Y,
                          ASTNodeValue stoichiometryMathValue)
Parameters:
sr -
speciesRefIndex -
stoichiometricCoefHash -
Y -
stoichiometryMathValue -
Method Detail

compileDouble

public double compileDouble(double time)
Computes the value of the stoichiometry at the current time if it has not been computed yet or is not constant.

Parameters:
time -
Returns:
doubleValue the value of the stoichiometry

refresh

public void refresh()
Refreshes the stoichiometry.


getStoichiometrySet

public boolean getStoichiometrySet()
Returns:
stoichiometrySet?

getStoichiometry

public double getStoichiometry()
Returns:
stoichiometry

Generated at March 17 2014
Version 1.4 Revision 453