Skip to content

library_builders

RL4CRN.utils.library_builders

build_MAK_library(crn_template, species_labels, order)

Construct and attach a mass-action reaction library.

PARAMETER DESCRIPTION
crn_template

Compiled IOCRN template.

TYPE: Any

species_labels

Species labels used by the library.

TYPE: List[str]

order

Reaction order.

TYPE: int

RETURNS DESCRIPTION

Tuple (library, M, K, masks).