This PR removes some obsolete code from the nonlinear solver.
The statistics will soon be replaced by a generic statistic in the theory inference manager.
d_extTheory.registerTerm(n);
}
-void NonlinearExtension::sendLemmas(const std::vector<NlLemma>& out)
-{
- for (const NlLemma& nlem : out)
- {
- Trace("nl-ext-lemma") << "NonlinearExtension::Lemma : " << nlem.getId()
- << " : " << nlem.d_node << std::endl;
- d_im.addPendingArithLemma(nlem);
- d_stats.d_inferences << nlem.getId();
- }
-}
-
void NonlinearExtension::processSideEffect(const NlLemma& se)
{
d_trSlv.processSideEffect(se);
/** singleton version of above */
unsigned filterLemma(NlLemma lem, std::vector<NlLemma>& out);
- /**
- * Send lemmas in out on the output channel of theory of arithmetic.
- */
- void sendLemmas(const std::vector<NlLemma>& out);
-
/** run check strategy
*
* Check assertions for consistency in the effort LAST_CALL with a subset of
NlStats::NlStats()
: d_mbrRuns("nl::mbrRuns", 0),
- d_checkRuns("nl::checkRuns", 0),
- d_inferences("nl::inferences")
+ d_checkRuns("nl::checkRuns", 0)
{
smtStatisticsRegistry()->registerStat(&d_mbrRuns);
smtStatisticsRegistry()->registerStat(&d_checkRuns);
- smtStatisticsRegistry()->registerStat(&d_inferences);
}
NlStats::~NlStats()
{
smtStatisticsRegistry()->unregisterStat(&d_mbrRuns);
smtStatisticsRegistry()->unregisterStat(&d_checkRuns);
- smtStatisticsRegistry()->unregisterStat(&d_inferences);
}
} // namespace nl
IntStat d_mbrRuns;
/** Number of calls to NonlinearExtension::checkLastCall */
IntStat d_checkRuns;
- /** Counts the number of applications of each type of inference */
- HistogramStat<InferenceId> d_inferences;
};
} // namespace nl