|
@ -82,8 +82,9 @@ namespace storm { |
|
|
std::stringstream stream; |
|
|
std::stringstream stream; |
|
|
stream << be->activeFailureRate(); |
|
|
stream << be->activeFailureRate(); |
|
|
nodeData["rate"] = stream.str(); |
|
|
nodeData["rate"] = stream.str(); |
|
|
stream.clear(); |
|
|
|
|
|
stream << (be->passiveFailureRate() / be->activeFailureRate()); |
|
|
|
|
|
|
|
|
stream.str(std::string()); // Clear stringstream
|
|
|
|
|
|
ValueType dormancy = be->passiveFailureRate() / be->activeFailureRate(); |
|
|
|
|
|
stream << dormancy; |
|
|
nodeData["dorm"] = stream.str(); |
|
|
nodeData["dorm"] = stream.str(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|