Constraint-class {rsbml} | R Documentation

## SBML Type "Constraint"

### Description

A constraint that must be continuously satisfied throughout the simulation of a model. Once a constraint is no longer met, the simulation must halt.

### Objects from the Class

Objects can be created by calls of the form `new("Constraint", ...)`.

### Slots

`math`:

  Object of class `"expression"` that evaluates to `FALSE` if the constraint is not satisfied, otherwise evaluates to `TRUE`.

`message`:

  Object of class `"character"`, formatted in XHTML, that is displayed to the user by an application when the constraint is not satisfied.

`metaId`:

  Object of class `"character"` that is an XML ID "described" by an RDF resource. This links an SBML element to an RDF resource. RDF may appear anywhere in an SBML element, but is usually placed inside the `annotation` element.

`notes`:

  Object of class `"character"` containing user-readable XHTML notes about an element.

`annotation`:

  Object of class `"character"` containing additional machine-readable information about an element, usually as RDF, such as BioPAX. This is where application-specific data belongs.

`cvTerms`:

  Object of class `"list"` containing instances of `CVTerm` associated with this element.

`sboTerm`:

  Object of class `"integer"` identifying a term in the Systems Biology Ontology (SBO).

### Extends

Class `"SBase"`, directly.

### Methods

math

  `signature(domain = "Constraint")`: gets the `math` slot.

math<-

  `signature(object = "Constraint")`: sets the `math` slot.

msg

  `signature(domain = "Constraint")`: gets the `msg` slot.

msg<-

  `signature(object = "Constraint")`: sets the `msg` slot.

### Note

Requires libsbml >= 3.0

### Author(s)

Michael Lawrence

### References

http://sbml.org/documents/

[Package rsbml version 2.50.0 Index]