creativity
v1.3.0
Agent-based model of creativity and piracy
|
Provides a simple interface to accessing the value of a field for a single observation. More...
#include <creativity/data/TreatmentFilter.hpp>
Public Member Functions | |
double | value (const std::string &field) const |
Returns the value associated with the given stage field name. More... | |
Friends | |
class | TreatmentFilter |
Provides a simple interface to accessing the value of a field for a single observation.
double creativity::data::TreatmentFilter::StageProperties::value | ( | const std::string & | field | ) | const |
Returns the value associated with the given stage field name.
The field should not be prefixed with the "pre.", "piracy.", etc. prefix, but should be prefixed with "param." to obtain parameter values.
std::out_of_range | if the given field does not exist. |