I am writing code for regulated Flux Balance Analysis. I need to read some regulatory rules from a file and predict the future state of the genes in the network. In this example x is a vector of genes being on or off, and each rule belongs to a reaction, i.e. if the rule is true, then the reaction is active.
On Tuesday, April 26, 2016 at 7:28:59 PM UTC+2, Steven G. Johnson wrote: > > > > On Tuesday, April 26, 2016 at 12:09:33 PM UTC-4, Ali Rezaee wrote: >> >> My objective is exactly what the code shows. I have a list of Boolean >> expressions similar to the examples in the code, and I need to evaluate >> them one by one based on x values. >> So writing a macro would be the only solution. >> > > That's not an objective, that's an implementation. What are you > actually trying to do in which evaluating lists of boolean expressions > arises? >