next | previous | forward | backward | up | top | index | toc | Macaulay2 website
ReactionNetworks :: nSiteAutocatalytic

nSiteAutocatalytic -- A motif for autocatalytic networks

Description

This motif creates a network for an N-species autocatalytic chain. Both species have inflows and outflows.

i1 : nSiteAutocatalytic 5

o1 = X_1+X_2-->2X_2
     X_2+X_3-->2X_3
     X_3+X_4-->2X_4
     X_4+X_5-->2X_5
     X_1+X_5-->2X_1
     -->X_1
     -->X_2
     -->X_3
     -->X_4
     -->X_5
     X_1-->
     X_2-->
     X_3-->
     X_4-->
     X_5-->

o1 : ReactionNetwork

To rename species, use substitute(ReactionNetwork,List).

Ways to use nSiteAutocatalytic :

For the programmer

The object nSiteAutocatalytic is a method function.