BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
RandomDistributionFactory.h File Reference
#include <string>
#include <random>
#include <map>
#include <functional>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Namespaces

namespace  BPMNOS
 

Typedefs

using BPMNOS::RandomGenerator = std::mt19937
 
using BPMNOS::RandomDistribution = std::function<double(RandomGenerator &)>
 

Functions

template<class DistributionType , class... Parameters>
RandomDistribution BPMNOS::make_distribution_impl (nlohmann::json const &input, Parameters... parameters)
 
RandomDistribution BPMNOS::make_distribution (const std::string &jsonString)
 
RandomDistribution BPMNOS::make_distribution (const nlohmann::json &input)