Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Statistics.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <iostream>
5
6namespace storm {
7namespace modelchecker {
8namespace exploration_detail {
9
10template<typename StateType, typename ValueType>
12
13// A struct that keeps track of certain statistics during the exploration.
14template<typename StateType, typename ValueType>
15struct Statistics {
16 Statistics();
17
18 void explorationStep();
19
20 void sampledPath();
21
22 void updateMaxPathLength(std::size_t const& currentPathLength);
23
24 void printToStream(std::ostream& out, ExplorationInformation<StateType, ValueType> const& explorationInformation) const;
25
26 std::size_t pathsSampled;
28 std::size_t explorationSteps;
30 std::size_t maxPathLength;
34 std::size_t ecDetections;
35 std::size_t failedEcDetections;
37};
38
39} // namespace exploration_detail
40} // namespace modelchecker
41} // namespace storm
void printToStream(std::ostream &out, ExplorationInformation< StateType, ValueType > const &explorationInformation) const
void updateMaxPathLength(std::size_t const &currentPathLength)