@ -4,7 +4,7 @@
namespace storm {
namespace simulator {
template < typename ValueType , typename RewardModelType >
DiscreteTimeSparseModelSimulator < ValueType , RewardModelType > : : DiscreteTimeSparseModelSimulator ( storm : : models : : sparse : : Model < ValueType , RewardModelType > const & model ) : model ( model ) , currentState ( * model . getInitialStates ( ) . begin ( ) ) {
DiscreteTimeSparseModelSimulator < ValueType , RewardModelType > : : DiscreteTimeSparseModelSimulator ( storm : : models : : sparse : : Model < ValueType , RewardModelType > const & model ) : currentState ( * model . getInitialStates ( ) . begin ( ) ) , model ( model ) {
STORM_LOG_WARN_COND ( model . getInitialStates ( ) . getNumberOfSetBits ( ) = = 1 , " The model has multiple initial states. This simulator assumes it starts from the initial state with the lowest index. " ) ;
}
@ -47,4 +47,4 @@ namespace storm {
template class DiscreteTimeSparseModelSimulator < double > ;
}
}
}