STORM_LOG_THROW(playerOfAction!=storm::storage::INVALID_PLAYER_INDEX,storm::exceptions::WrongFormatException,"Command "<<command.getActionName()<<" is not owned by any player.");
STORM_LOG_THROW(playerOfModule!=storm::storage::INVALID_PLAYER_INDEX,storm::exceptions::WrongFormatException,"Module "<<module.getName()<<" is not owned by any player but has at least one enabled, unlabeled command.");
STORM_LOG_THROW(playerOfModule!=storm::storage::INVALID_PLAYER_INDEX,storm::exceptions::WrongFormatException,"Module "<<module.getName()<<" is not owned by any player but has at least one enabled, unlabeled command.");
choice.setPlayerIndex(playerOfModule);
choice.setPlayerIndex(playerOfModule);
}
}
}
if(this->options.isExplorationChecksSet()){
if(this->options.isExplorationChecksSet()){
// Check that the resulting distribution is in fact a distribution.
// Check that the resulting distribution is in fact a distribution.