creativity  v1.3.0
Agent-based model of creativity and piracy
Public Member Functions | Friends | List of all members
creativity::data::TreatmentFilter::StageProperties Class Referencefinal

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
 

Detailed Description

Provides a simple interface to accessing the value of a field for a single observation.

Member Function Documentation

§ value()

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.

See also
Treatment::column
Treatment::variable
Exceptions
std::out_of_rangeif the given field does not exist.

The documentation for this class was generated from the following file: