Stochastic Loading Module
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
stochastic_model.h
1
#ifndef _STOCHASTIC_MODEL_H_
2
#define _STOCHASTIC_MODEL_H_
3
4
#include <string>
5
#include "json_object.h"
6
7
namespace
stochastic
{
8
12
class
StochasticModel
{
13
public
:
17
StochasticModel
() =
default
;
18
22
virtual
~StochasticModel
() {};
23
27
StochasticModel
(
const
StochasticModel
&) =
delete
;
28
32
StochasticModel
&
operator=
(
const
StochasticModel
&) =
delete
;
33
38
std::string
model_name
()
const
{
return
model_name_
; };
39
49
virtual
utilities::JsonObject
generate
(
const
std::string& event_name,
50
bool
g_units =
false
) = 0;
51
62
virtual
bool
generate
(
const
std::string& event_name,
63
const
std::string& output_location,
64
bool
g_units =
false
) = 0;
65
66
protected
:
67
std::string
model_name_
=
"StochasticModel"
;
68
};
69
}
// namespace stochastic
70
71
#endif // _STOCHASTIC_MODEL_H_
stochastic
Definition:
beta_dist.h:9
stochastic::StochasticModel::generate
virtual utilities::JsonObject generate(const std::string &event_name, bool g_units=false)=0
stochastic::StochasticModel::model_name
std::string model_name() const
Definition:
stochastic_model.h:38
stochastic::StochasticModel::~StochasticModel
virtual ~StochasticModel()
Definition:
stochastic_model.h:22
stochastic::StochasticModel::operator=
StochasticModel & operator=(const StochasticModel &)=delete
stochastic::StochasticModel
Definition:
stochastic_model.h:12
stochastic::StochasticModel::StochasticModel
StochasticModel()=default
utilities::JsonObject
Definition:
json_object.h:16
stochastic::StochasticModel::model_name_
std::string model_name_
Definition:
stochastic_model.h:67
Generated by
1.8.11