#include <SensitivityInput.h>
Sensitivity input descriptor
◆ SensitivityInput() [1/2]
SensitivityInput::SensitivityInput |
( |
std::string |
name, |
|
|
std::string |
type, |
|
|
int |
id, |
|
|
std::string |
order, |
|
|
double |
timeout, |
|
|
int |
startingRound |
|
) |
| |
◆ SensitivityInput() [2/2]
SensitivityInput::SensitivityInput |
( |
void |
| ) |
|
◆ addControlledVariable()
add the controlled variable
◆ addMonitoredVariable()
add the monitored variable
◆ check()
bool SensitivityInput::check |
( |
void |
| ) |
|
verify inputs are available for the sensitivity to be run: non-empty type_ string, positive id_, at least one controlled_ and one monitored_ variable
◆ id()
int SensitivityInput::id |
( |
void |
| ) |
const |
get the id of the model to analyze
◆ json()
std::string SensitivityInput::json |
( |
void |
| ) |
const |
- Returns
- UTF-8 encoded string with the JSON-serialized object
◆ operator==()
◆ print_()
std::ostream & SensitivityInput::print_ |
( |
std::ostream & |
os | ) |
const |
◆ printInputs_()
std::ostream & SensitivityInput::printInputs_ |
( |
std::ostream & |
os | ) |
const |
helper function for printing inputs to streams
◆ startingRound()
int SensitivityInput::startingRound |
( |
void |
| ) |
const |
get the starting round for the sensitivity
◆ type()
const std::string & SensitivityInput::type |
( |
void |
| ) |
const |
get the type of the model to analyze
◆ controlled_
Controlled variables: at least one.
◆ id_
int SensitivityInput::id_ |
|
protected |
mandatory non-negative integer, id of the model to analyze
◆ monitored_
◆ name_
std::string SensitivityInput::name_ |
|
protected |
optional UTF-encoded string with a descriptive name
◆ order_
std::string SensitivityInput::order_ |
|
protected |
mandatory order of execution, can be: lexicographic, boustrophedon or quasi-spiral
◆ startingRound_
int SensitivityInput::startingRound_ |
|
protected |
mandatory non-negative integer, valud of the sequential counter based on the chosen ordering
◆ timeout_
double SensitivityInput::timeout_ |
|
protected |
optional maximum running time in seconds (to be enforced by the client)
◆ type_
std::string SensitivityInput::type_ |
|
protected |
mandatory UTF-encoded string with the type of the model to analyze
The documentation for this struct was generated from the following file: