Browse Source
factored out helper classes into their own files in preparation of refiner interface
tempestpy_adaptions
factored out helper classes into their own files in preparation of refiner interface
tempestpy_adaptions
dehnert
8 years ago
7 changed files with 114 additions and 33 deletions
-
18src/storm/abstraction/MenuGameRefiner.h
-
12src/storm/abstraction/QualitativeResult.h
-
22src/storm/abstraction/QualitativeResultMinMax.h
-
25src/storm/abstraction/QuantitativeResult.h
-
21src/storm/abstraction/QuantitativeResultMinMax.h
-
25src/storm/modelchecker/abstraction/GameBasedMdpModelChecker.cpp
-
22src/storm/modelchecker/abstraction/GameBasedMdpModelChecker.h
@ -0,0 +1,12 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/utility/graph.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template <storm::dd::DdType Type> |
|||
using QualitativeResult = storm::utility::graph::GameProb01Result<Type>; |
|||
|
|||
} |
|||
} |
@ -0,0 +1,22 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/storage/dd/DdType.h" |
|||
|
|||
#include "storm/utility/graph.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template<storm::dd::DdType Type> |
|||
struct QualitativeResultMinMax { |
|||
public: |
|||
QualitativeResultMinMax() = default; |
|||
|
|||
storm::utility::graph::GameProb01Result<Type> prob0Min; |
|||
storm::utility::graph::GameProb01Result<Type> prob1Min; |
|||
storm::utility::graph::GameProb01Result<Type> prob0Max; |
|||
storm::utility::graph::GameProb01Result<Type> prob1Max; |
|||
}; |
|||
|
|||
} |
|||
} |
@ -0,0 +1,25 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/storage/dd/DdType.h" |
|||
#include "storm/storage/dd/Add.h" |
|||
#include "storm/storage/dd/Bdd.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template<storm::dd::DdType Type, typename ValueType> |
|||
struct QuantitativeResult { |
|||
QuantitativeResult() = default; |
|||
|
|||
QuantitativeResult(ValueType initialStateValue, storm::dd::Add<Type, ValueType> const& values, storm::dd::Bdd<Type> const& player1Strategy, storm::dd::Bdd<Type> const& player2Strategy) : initialStateValue(initialStateValue), values(values), player1Strategy(player1Strategy), player2Strategy(player2Strategy) { |
|||
// Intentionally left empty. |
|||
} |
|||
|
|||
ValueType initialStateValue; |
|||
storm::dd::Add<Type, ValueType> values; |
|||
storm::dd::Bdd<Type> player1Strategy; |
|||
storm::dd::Bdd<Type> player2Strategy; |
|||
}; |
|||
|
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
#pragma once |
|||
|
|||
#include "storm/abstraction/QuantitativeResult.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template<storm::dd::DdType Type, typename ValueType> |
|||
struct QuantitativeResultMinMax { |
|||
QuantitativeResultMinMax() = default; |
|||
|
|||
QuantitativeResultMinMax(QuantitativeResult<Type, ValueType> const& min, QuantitativeResult<Type, ValueType> const& max) : min(min), max(max) { |
|||
// Intentionally left empty. |
|||
} |
|||
|
|||
QuantitativeResult<Type, ValueType> min; |
|||
QuantitativeResult<Type, ValueType> max; |
|||
}; |
|||
|
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue