We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8103a17 commit fcf83dcCopy full SHA for fcf83dc
src/solvers/prop/cover_goals.cpp
@@ -41,6 +41,10 @@ Function: cover_goalst::mark
41
42
void cover_goalst::mark()
43
{
44
+ // notify observers
45
+ for(const auto & o : observers)
46
+ o->satisfying_assignment();
47
+
48
for(auto & g : goals)
49
if(g.status==goalt::statust::UNKNOWN &&
50
prop_conv.l_get(g.condition).is_true())
src/solvers/prop/cover_goals.h
@@ -82,7 +82,8 @@ class cover_goalst:public messaget
82
class observert
83
84
public:
85
- virtual void goal_covered(const goalt &)=0;
+ virtual void goal_covered(const goalt &) { }
86
+ virtual void satisfying_assignment() { }
87
};
88
89
inline void register_observer(observert &o)
0 commit comments