Browse Source
utility/engine: canHandle(...) compiles now.
utility/engine: canHandle(...) compiles now.
Moved getSupportedJaniFeatures to builder/BuilderType.tempestpy_adaptions
Tim Quatmann
5 years ago
5 changed files with 64 additions and 51 deletions
-
8src/storm/api/builder.h
-
23src/storm/builder/BuilderType.cpp
-
10src/storm/builder/BuilderType.h
-
63src/storm/utility/Engine.cpp
-
11src/storm/utility/Engine.h
@ -0,0 +1,23 @@ |
|||
#include "storm/builder/BuilderType.h"
|
|||
|
|||
#include "storm/storage/jani/ModelFeatures.h"
|
|||
|
|||
namespace storm { |
|||
namespace builder { |
|||
|
|||
storm::jani::ModelFeatures getSupportedJaniFeatures(BuilderType const& builderType) { |
|||
storm::jani::ModelFeatures features; |
|||
features.add(storm::jani::ModelFeature::DerivedOperators); |
|||
features.add(storm::jani::ModelFeature::StateExitRewards); |
|||
if (builderType == BuilderType::Explicit) { |
|||
features.add(storm::jani::ModelFeature::Arrays); |
|||
} |
|||
return features; |
|||
} |
|||
|
|||
bool canHandle(BuilderType const& builderType, storm::storage::SymbolicModelDescription const& modelDescription) { |
|||
return true; |
|||
} |
|||
|
|||
} |
|||
} |
@ -1,11 +1,21 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/storage/SymbolicModelDescription.h" |
|||
|
|||
namespace storm { |
|||
namespace jani { |
|||
class ModelFeatures; |
|||
} |
|||
|
|||
namespace builder { |
|||
enum class BuilderType { |
|||
Explicit, |
|||
Dd, |
|||
Jit |
|||
}; |
|||
|
|||
storm::jani::ModelFeatures getSupportedJaniFeatures(BuilderType const& builderType); |
|||
|
|||
bool canHandle(BuilderType const& builderType, storm::storage::SymbolicModelDescription const& modelDescription); |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue