Browse Source
Merge remote-tracking branch 'remotes/origin/menu_games' into sylvanRationalFunctions
Merge remote-tracking branch 'remotes/origin/menu_games' into sylvanRationalFunctions
# Conflicts:
# src/abstraction/prism/AbstractProgram.cpp
Former-commit-id: 2c7d10a4bd
tempestpy_adaptions
PBerger
9 years ago
14 changed files with 435 additions and 163 deletions
-
94src/abstraction/AbstractionInformation.cpp
-
94src/abstraction/AbstractionInformation.h
-
14src/abstraction/BottomStateResult.cpp
-
19src/abstraction/BottomStateResult.h
-
54src/abstraction/prism/AbstractCommand.cpp
-
37src/abstraction/prism/AbstractCommand.h
-
31src/abstraction/prism/AbstractModule.cpp
-
22src/abstraction/prism/AbstractModule.h
-
70src/abstraction/prism/AbstractProgram.cpp
-
4src/abstraction/prism/AbstractProgram.h
-
21src/abstraction/prism/GameBddResult.cpp
-
21src/abstraction/prism/GameBddResult.h
-
17src/modelchecker/abstraction/GameBasedMdpModelChecker.cpp
-
100test/functional/abstraction/PrismMenuGameTest.cpp
@ -0,0 +1,14 @@ |
|||
#include "src/abstraction/BottomStateResult.h"
|
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template <storm::dd::DdType DdType> |
|||
BottomStateResult<DdType>::BottomStateResult(storm::dd::Bdd<DdType> const& states, storm::dd::Bdd<DdType> const& transitions) : states(states), transitions(transitions) { |
|||
// Intentionally left empty.
|
|||
} |
|||
|
|||
template class BottomStateResult<storm::dd::DdType::CUDD>; |
|||
template class BottomStateResult<storm::dd::DdType::Sylvan>; |
|||
} |
|||
} |
@ -0,0 +1,19 @@ |
|||
#pragma once |
|||
|
|||
#include "src/storage/dd/DdType.h" |
|||
#include "src/storage/dd/Bdd.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
|
|||
template <storm::dd::DdType DdType> |
|||
struct BottomStateResult { |
|||
public: |
|||
BottomStateResult(storm::dd::Bdd<DdType> const& states, storm::dd::Bdd<DdType> const& transitions); |
|||
|
|||
storm::dd::Bdd<DdType> states; |
|||
storm::dd::Bdd<DdType> transitions; |
|||
}; |
|||
|
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
#include "src/abstraction/prism/GameBddResult.h"
|
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
namespace prism { |
|||
|
|||
template <storm::dd::DdType DdType> |
|||
GameBddResult<DdType>::GameBddResult() : bdd(), numberOfPlayer2Variables(0), nextFreePlayer2Index(0) { |
|||
// Intentionally left empty.
|
|||
} |
|||
|
|||
template <storm::dd::DdType DdType> |
|||
GameBddResult<DdType>::GameBddResult(storm::dd::Bdd<DdType> const& gameBdd, uint_fast64_t numberOfPlayer2Variables, uint_fast64_t nextFreePlayer2Index) : bdd(gameBdd), numberOfPlayer2Variables(numberOfPlayer2Variables), nextFreePlayer2Index(nextFreePlayer2Index) { |
|||
// Intentionally left empty.
|
|||
} |
|||
|
|||
template class GameBddResult<storm::dd::DdType::CUDD>; |
|||
template class GameBddResult<storm::dd::DdType::Sylvan>; |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,21 @@ |
|||
#pragma once |
|||
|
|||
#include "src/storage/dd/Bdd.h" |
|||
|
|||
namespace storm { |
|||
namespace abstraction { |
|||
namespace prism { |
|||
|
|||
template <storm::dd::DdType DdType> |
|||
struct GameBddResult { |
|||
GameBddResult(); |
|||
GameBddResult(storm::dd::Bdd<DdType> const& gameBdd, uint_fast64_t numberOfPlayer2Variables, uint_fast64_t nextFreePlayer2Index); |
|||
|
|||
storm::dd::Bdd<DdType> bdd; |
|||
uint_fast64_t numberOfPlayer2Variables; |
|||
uint_fast64_t nextFreePlayer2Index; |
|||
}; |
|||
|
|||
} |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue