Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
CoreSettings.h
Go to the documentation of this file.
1#pragma once
2
3#include "storm-config.h"
5
8
9namespace storm {
10namespace solver {
11enum class EquationSolverType;
12enum class LpSolverType;
13enum class MinMaxMethod;
14enum class SmtSolverType;
15} // namespace solver
16
17namespace dd {
18enum class DdType;
19}
20
21namespace settings {
22namespace modules {
23
28 public:
33
39 storm::solver::EquationSolverType getEquationSolver() const;
40
46 bool isEquationSolverSet() const;
47
54
60 storm::solver::LpSolverType getLpSolver() const;
61
68
74 storm::solver::SmtSolverType getSmtSolver() const;
75
82
89
96
102 bool isShowStatisticsSet() const;
103
110
114 void setEngine(storm::utility::Engine const& engine);
115
116 bool check() const override;
117 void finalize() override;
118
119 // The name of the module.
120 static const std::string moduleName;
121
122 private:
124
125 // Define the string names of the options as constants.
126 static const std::string eqSolverOptionName;
127 static const std::string lpSolverOptionName;
128 static const std::string smtSolverOptionName;
129 static const std::string statisticsOptionName;
130 static const std::string statisticsOptionShortName;
131 static const std::string engineOptionName;
132 static const std::string engineOptionShortName;
133 static const std::string ddLibraryOptionName;
134};
135
136} // namespace modules
137} // namespace settings
138} // namespace storm
storm::solver::LpSolverType getLpSolver() const
Retrieves the selected LP solver.
storm::dd::DdType getDdLibraryType() const
Retrieves the selected library for DD-related operations.
bool isShowStatisticsSet() const
Retrieves whether statistics are to be shown.
storm::solver::EquationSolverType getEquationSolver() const
Retrieves the selected equation solver.
bool isEquationSolverSetFromDefaultValue() const
Retrieves whether the equation solver has been set from its default value.
bool isEquationSolverSet() const
Retrieves whether a equation solver has been set.
bool isSmtSolverSetFromDefaultValue() const
Retrieves whether the smt solver has been set from its default value.
CoreSettings()
Creates a new set of core settings.
bool isLpSolverSetFromDefaultValue() const
Retrieves whether the lp solver has been set from its default value.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
void setEngine(storm::utility::Engine const &engine)
Sets the engine for further usage.
bool check() const override
Checks whether the settings are consistent.
storm::solver::SmtSolverType getSmtSolver() const
Retrieves the selected SMT solver.
bool isDdLibraryTypeSetFromDefaultValue() const
Retrieves whether the selected DD library is set from its default value.
static const std::string moduleName
storm::utility::Engine getEngine() const
Retrieves the selected engine.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.
Engine
An enumeration of all engines.
Definition Engine.h:31