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
95 bool isShowStatisticsSet() const;
96
103
107 void setEngine(storm::utility::Engine const& engine);
108
109 bool check() const override;
110 void finalize() override;
111
112 // The name of the module.
113 static const std::string moduleName;
114
115 private:
117
118 // Define the string names of the options as constants.
119 static const std::string eqSolverOptionName;
120 static const std::string lpSolverOptionName;
121 static const std::string smtSolverOptionName;
122 static const std::string statisticsOptionName;
123 static const std::string statisticsOptionShortName;
124 static const std::string engineOptionName;
125 static const std::string engineOptionShortName;
126 static const std::string ddLibraryOptionName;
127};
128
129} // namespace modules
130} // namespace settings
131} // 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.
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