libSBML Perl API  libSBML 5.10.0 Perl API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
doc_rule_level_1 Class Reference

Detailed Description

In SBML Level 1, the different rule types each have a different name for the attribute holding the reference to the object constituting the left-hand side of the rule. (E.g., for SBML Level 1's SpeciesConcentrationRule the attribute is "species", for CompartmentVolumeRule it is "compartment", etc.) In SBML Levels 2 and 3, the only two types of Rule objects with a left-hand side object reference are AssignmentRule and RateRule, and both of them use the same name for attribute: "variable". In order to make it easier for application developers to work with all Levels of SBML, libSBML uses a uniform name for all such attributes, and it is "variable", regardless of whether Level 1 rules or Level 2–3 rules are being used.