GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/smt/options_manager.cpp Lines: 7 9 77.8 %
Date: 2021-08-16 Branches: 2 4 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Aina Niemetz
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Module for managing options of an SmtEngine.
14
 */
15
16
#include "smt/options_manager.h"
17
18
#include "base/output.h"
19
#include "expr/expr_iomanip.h"
20
#include "options/base_options.h"
21
#include "options/expr_options.h"
22
#include "options/smt_options.h"
23
#include "smt/command.h"
24
#include "smt/dump.h"
25
#include "smt/set_defaults.h"
26
#include "util/resource_manager.h"
27
28
namespace cvc5 {
29
namespace smt {
30
31
10497
OptionsManager::OptionsManager(Options* opts) : d_options(opts)
32
{
33
10497
}
34
35
20994
OptionsManager::~OptionsManager() {}
36
37
void OptionsManager::notifySetOption(const std::string& key)
38
{
39
}
40
41
9854
void OptionsManager::finishInit(LogicInfo& logic, bool isInternalSubsolver)
42
{
43
  // ensure that our heuristics are properly set up
44
9854
  setDefaults(logic, *d_options, isInternalSubsolver);
45
9853
}
46
47
}  // namespace smt
48
29340
}  // namespace cvc5