#ifndef LOGGER_GENERATOR_H #define LOGGER_GENERATOR_H #include #include "simulation/logger.h" #include "simulation/parameter.h" namespace generator { // return a shared_ptr to a DeletionLogger object described by the given json-object // can contain a json-array or a json-string "Type" // - if it's a json-array: list the DeletionTypes that should be counted // during the simulation (json-strings: "wall", "recombination", "max_interactions", "max_time_alive" and "cluster_formation") // - if it's a json-string: has to have the value "all" and then all DeletionTypes are tracked (see list above) // - if not present: no DeletionTypes are tracked std::shared_ptr buildDeletionLogger(json_t* object); // return a shared_ptr to a DeletionLogger object described at the given path // in the Parameter object, this object has to contain a json-object "Deletion" // following the structure in the overload of this function std::shared_ptr buildDeletionLogger( Parameter& parameter, const json_path& path_to_logger); } // namespace generator #endif /* LOGGER_GENERATOR_H */