Add yield block support. The idea is to not generate executions with yield actions.
[cdsspec-compiler.git] / execution.h
index 8a2bcfa9402a8b2d9c0153aa743c5fc5554613cf..7f63e6d99812c98f5732d35c52a1e04f8691ac17 100644 (file)
@@ -61,7 +61,7 @@ struct release_seq {
 class ModelExecution {
 public:
        ModelExecution(ModelChecker *m,
-                       struct model_params *params,
+                       const struct model_params *params,
                        Scheduler *scheduler,
                        NodeStack *node_stack);
        ~ModelExecution();
@@ -109,6 +109,7 @@ public:
        bool is_feasible_prefix_ignore_relseq() const;
        bool is_infeasible() const;
        bool is_deadlocked() const;
+       bool is_yieldblocked() const;
        bool too_many_steps() const;
 
        ModelAction * get_next_backtrack();