Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Statistics.h
Go to the documentation of this file.
1#ifndef STORM_MODELCHECKER_EXPLORATION_EXPLORATION_DETAIL_STATISTICS_H_
2#define STORM_MODELCHECKER_EXPLORATION_EXPLORATION_DETAIL_STATISTICS_H_
3
4#include <cstddef>
5#include <iostream>
6
7namespace storm {
8namespace modelchecker {
9namespace exploration_detail {
10
11template<typename StateType, typename ValueType>
12class ExplorationInformation;
13
14// A struct that keeps track of certain statistics during the exploration.
15template<typename StateType, typename ValueType>
16struct Statistics {
17 Statistics();
18
19 void explorationStep();
20
21 void sampledPath();
22
23 void updateMaxPathLength(std::size_t const& currentPathLength);
24
25 void printToStream(std::ostream& out, ExplorationInformation<StateType, ValueType> const& explorationInformation) const;
26
27 std::size_t pathsSampled;
29 std::size_t explorationSteps;
31 std::size_t maxPathLength;
35 std::size_t ecDetections;
36 std::size_t failedEcDetections;
38};
39
40} // namespace exploration_detail
41} // namespace modelchecker
42} // namespace storm
43
44#endif /* STORM_MODELCHECKER_EXPLORATION_EXPLORATION_DETAIL_STATISTICS_H_ */
LabParser.cpp.
Definition cli.cpp:18
void printToStream(std::ostream &out, ExplorationInformation< StateType, ValueType > const &explorationInformation) const
void updateMaxPathLength(std::size_t const &currentPathLength)