MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / appendIf

Method appendIf

smt/solver.cpp:233–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231
232 template <typename T1, typename T2>
233 void appendIf(const char *probe, T1 &&then, T2 &&els) {
234 IfTactic t(probe, make_unique<T1>(std::move(then)),
235 make_unique<T2>(std::move(els)));
236 append(t.t);
237 if (tactic_verbose)
238 tactics.emplace_back(make_unique<IfTactic>(std::move(t)));
239 }
240
241 TacticResult exec(const Goal &goal0) const override {
242 Goal goal(goal0);

Callers 2

appendIfMethod · 0.45
solver_initFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected