【发布时间】:2018-06-27 12:45:15
【问题描述】:
我在使用 Z3::expr 时遇到了困难。在 z3 中,expr conj 可以这样定义:
expr x = c.bool_const("x");
expr y = c.bool_const("y");
expr conj = (!x || !y);
有没有办法使用字符串变量来定义conj?比如:
expr x = c.bool_const("x");
expr y = c.bool_const("y");
string str = "(!x || !y)";
expr conj = some_API(str);
我被这个问题困扰了好几天。
谢谢
【问题讨论】: