Browse Source

smg model now stores the player action indices

tempestpy_adaptions
Stefan Pranger 4 years ago
parent
commit
e998cb669b
  1. 1
      src/storm/models/sparse/Smg.cpp

1
src/storm/models/sparse/Smg.cpp

@ -37,7 +37,6 @@ namespace storm {
storm::storage::PlayerIndex Smg<ValueType, RewardModelType>::getPlayerOfState(uint64_t stateIndex) const { storm::storage::PlayerIndex Smg<ValueType, RewardModelType>::getPlayerOfState(uint64_t stateIndex) const {
STORM_LOG_ASSERT(stateIndex < this->getNumberOfStates(), "Invalid state index: " << stateIndex << "."); STORM_LOG_ASSERT(stateIndex < this->getNumberOfStates(), "Invalid state index: " << stateIndex << ".");
return statePlayerIndications[stateIndex]; return statePlayerIndications[stateIndex];
}
template <typename ValueType, typename RewardModelType> template <typename ValueType, typename RewardModelType>
storm::storage::PlayerIndex Smg<ValueType, RewardModelType>::getPlayerIndex(std::string const& playerName) const { storm::storage::PlayerIndex Smg<ValueType, RewardModelType>::getPlayerIndex(std::string const& playerName) const {

Loading…
Cancel
Save