Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SylvanSettings.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace storm {
6namespace settings {
7namespace modules {
8
13 public:
18
24 uint64_t getMaximalMemory() const;
25
32 uint64_t getNumberOfThreads() const;
33
37 bool isNumberOfThreadsSet() const;
38
39 bool check() const override;
40
41 // The name of the module.
42 static const std::string moduleName;
43
44 private:
45 // Define the string names of the options as constants.
46 static const std::string maximalMemoryOptionName;
47 static const std::string threadCountOptionName;
48};
49
50} // namespace modules
51} // namespace settings
52} // namespace storm
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.
uint64_t getNumberOfThreads() const
Retrieves the amount of threads available to Sylvan.
SylvanSettings()
Creates a new set of Sylvan settings.
uint64_t getMaximalMemory() const
Retrieves the maximal amount of memory (in megabytes) that Sylvan can occupy.
bool check() const override
Checks whether the settings are consistent.
bool isNumberOfThreadsSet() const
Retrieves whether the number of threads to use was set.