| 
    creativity
    v1.3.0
    
   Agent-based model of creativity and piracy 
   | 
 
Struct for holding a simulator parameter. More...
#include <creativity/data/simdata.hpp>
Public Member Functions | |
| initial_datum ()=delete | |
| Default constructor disabled.  | |
| template<typename IntType , typename = typename std::enable_if<std::is_integral<IntType>::value>::type> | |
| initial_datum (std::string name, std::function< IntType(const CreativitySettings &)> &&calc_int) | |
| Constructs a simulation parameter datum that returns an integral value.  | |
| initial_datum (std::string name, std::function< double(const CreativitySettings &)> &&calc_double) | |
| Constructs a simulation parameter datum that returns a double value.  | |
Public Attributes | |
| const std::string | name | 
| The name of this parameter (to be included in the output header).  | |
| const std::function< long(const CreativitySettings &)> | calc_int | 
| Returns an integer value for this parameter, if callable.  | |
| const std::function< double(const CreativitySettings &)> | calc_double | 
| Returns a double value for this parameter, if callable.  | |
Struct for holding a simulator parameter.
 1.8.12