Jamesflynn1 / pyRBM

A Python framework to build and simulate stochastic rules-based models.
GNU General Public License v3.0
3 stars 0 forks source link

Added slot based addressing - final part to proper spatial modelling #36

Closed Jamesflynn1 closed 2 months ago

Jamesflynn1 commented 2 months ago

Use slot_#SLOT NUMBER HERE# to access the name of the compartment that was matched at the slot number.

Note the slot number uses zero-indexing.

Example:

For a two slot rule e.g. a transport rule of compartment type A to compartment type B might depend on distance.

Propensity: ["transport_class*comp_distance_slot_1", "1"] Targets ["A", "B"]