STORM_LOG_THROW(it!=locationToIndex.end(),storm::exceptions::InvalidArgumentException,"Cannot make unknown location '"<<name<<"' the initial location.");
STORM_LOG_THROW(it!=locationToIndex.end(),storm::exceptions::InvalidArgumentException,"Cannot make unknown location '"<<name<<"' the initial location.");
returnsetInitialLocation(it->second);
returnaddInitialLocation(it->second);
}
}
voidAutomaton::setInitialLocation(uint64_tindex){
voidAutomaton::addInitialLocation(uint64_tindex){
STORM_LOG_THROW(index<locations.size(),storm::exceptions::InvalidArgumentException,"Cannot make location with index "<<index<<" initial: out of bounds.");
STORM_LOG_THROW(index<locations.size(),storm::exceptions::InvalidArgumentException,"Cannot make location with index "<<index<<" initial: out of bounds.");