Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
CertificateJsonUtility.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
5
8
9namespace storm::storage {
10class BitVector;
11}
12
14
22template<typename ValueType, typename ElementType>
23storm::json<ValueType> valuesToJson(std::vector<ElementType> const& values);
24
28template<typename ValueType>
29storm::json<ValueType> ranksToJson(std::vector<RankingType> const& ranks);
30
34template<typename ValueType>
35storm::json<ValueType> stateSetToJson(std::string const& label, storm::storage::BitVector const& states);
36
37} // namespace storm::modelchecker::detail
A bit vector that is internally represented as a vector of 64-bit values.
Definition BitVector.h:16
storm::json< ValueType > ranksToJson(std::vector< RankingType > const &ranks)
Converts the given ranks to a json array.
storm::json< ValueType > valuesToJson(std::vector< ElementType > const &values)
Converts the given values to a json array.
storm::json< ValueType > stateSetToJson(std::string const &label, storm::storage::BitVector const &states)
Converts the given set of states to a json object of the form {"label": <label>, "states": [<state in...
nlohmann::basic_json< std::map, std::vector, std::string, bool, int64_t, uint64_t, ValueType > json
Definition JsonForward.h:11