KendrickOrg / kendrick

Domain-Specific Modeling for Epidemiology
MIT License
49 stars 14 forks source link

Rates are not stored uniformly in a model #391

Open SergeStinckwich opened 2 years ago

SergeStinckwich commented 2 years ago

If a model is built from ODEs equations, rates are stored in the model as KEExpression. If a model is built from transitions, rates are stored as lexical closure (Smalltalk block).

We should choose one way or another.

SergeStinckwich commented 2 years ago

After looking at the code more carefully, lexical closure seems to be used only when you build transitions models from low-level code.