Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Engine.h
Go to the documentation of this file.
1#pragma once
2
3#include <ostream>
4#include <vector>
5
9
10namespace storm {
11
12// Forward Declarations
13namespace jani {
14class Property;
15}
16
17namespace logic {
18class Formula;
19}
20namespace modelchecker {
21template<typename FormulaType, typename ValueType>
22class CheckTask;
23}
24namespace storage {
25class SymbolicModelDescription;
26}
27
28namespace utility {
29
31enum class Engine {
32 // The last one should always be 'Unknown' to make sure that the getEngines() method below works.
33 Sparse,
34 Hybrid,
35 Dd,
41};
42
46std::vector<Engine> getEngines();
47
51std::string toString(Engine const& engine);
52
56std::ostream& operator<<(std::ostream& os, Engine const& engine);
57
62Engine engineFromString(std::string const& engineStr);
63
68
75template<typename ValueType>
76bool canHandle(storm::utility::Engine const& engine, std::vector<storm::jani::Property> const& properties,
77 storm::storage::SymbolicModelDescription const& modelDescription);
78} // namespace utility
79} // namespace storm
Engine
An enumeration of all engines.
Definition Engine.h:31
std::ostream & operator<<(std::ostream &os, Engine const &engine)
Writes the string representation of the given engine to the given stream.
Definition Engine.cpp:65
storm::builder::BuilderType getBuilderType(Engine const &engine)
Returns the builder type used for the given engine.
Definition Engine.cpp:84
std::string toString(Engine const &engine)
Returns a string representation of the given engine.
Definition Engine.cpp:41
std::vector< Engine > getEngines()
Returns a list of all available engines (excluding Unknown)
Definition Engine.cpp:33
Engine engineFromString(std::string const &engineStr)
Parses the string representation of an engine and returns the corresponding engine.
Definition Engine.cpp:70
bool canHandle(storm::utility::Engine const &engine, storm::storage::SymbolicModelDescription::ModelType const &modelType, storm::modelchecker::CheckTask< storm::logic::Formula, ValueType > const &checkTask)
Definition Engine.cpp:105
LabParser.cpp.
Definition cli.cpp:18