LCOV - code coverage report
Current view: top level - buildbot/coverage/build/src/theory - theory_engine_module.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 14 71.4 %
Date: 2026-03-21 10:41:10 Functions: 6 9 66.7 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * This file is part of the cvc5 project.
       3                 :            :  *
       4                 :            :  * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS
       5                 :            :  * in the top-level source directory and their institutional affiliations.
       6                 :            :  * All rights reserved.  See the file COPYING in the top-level source
       7                 :            :  * directory for licensing information.
       8                 :            :  * ****************************************************************************
       9                 :            :  *
      10                 :            :  * Virtual class for theory engine modules
      11                 :            :  */
      12                 :            : 
      13                 :            : #include "theory/theory_engine_module.h"
      14                 :            : 
      15                 :            : namespace cvc5::internal {
      16                 :            : namespace theory {
      17                 :            : 
      18                 :            : size_t TheoryEngineModule::d_idCounter = 0;
      19                 :        514 : TheoryEngineModule::TheoryEngineModule(Env& env,
      20                 :            :                                        TheoryEngine* engine,
      21                 :        514 :                                        const std::string& name)
      22                 :        514 :     : EnvObj(env), d_out(statisticsRegistry(), engine, name, d_idCounter)
      23                 :            : {
      24                 :            :   // increment the id counter so that the id of this module is unique
      25                 :        514 :   d_idCounter++;
      26                 :        514 : }
      27                 :            : 
      28                 :        511 : void TheoryEngineModule::presolve() {}
      29                 :            : 
      30                 :        511 : void TheoryEngineModule::postsolve(CVC5_UNUSED prop::SatValue result) {}
      31                 :            : 
      32                 :          0 : void TheoryEngineModule::check(CVC5_UNUSED Theory::Effort effort) {}
      33                 :            : 
      34                 :         91 : void TheoryEngineModule::postCheck(CVC5_UNUSED Theory::Effort effort) {}
      35                 :            : 
      36                 :          0 : void TheoryEngineModule::notifyLemma(
      37                 :            :     CVC5_UNUSED TNode n,
      38                 :            :     CVC5_UNUSED InferenceId id,
      39                 :            :     CVC5_UNUSED LemmaProperty p,
      40                 :            :     CVC5_UNUSED const std::vector<Node>& skAsserts,
      41                 :            :     CVC5_UNUSED const std::vector<Node>& sks)
      42                 :            : {
      43                 :          0 : }
      44                 :            : 
      45                 :         14 : bool TheoryEngineModule::needsCandidateModel() { return false; }
      46                 :            : 
      47                 :          0 : void TheoryEngineModule::notifyCandidateModel(CVC5_UNUSED TheoryModel* m) {}
      48                 :            : 
      49                 :        963 : TheoryId TheoryEngineModule::getId() const { return d_out.getId(); }
      50                 :            : 
      51                 :            : }  // namespace theory
      52                 :            : }  // namespace cvc5::internal

Generated by: LCOV version 1.14