Fixed bug of max Interactions not getting logged,

Added functionality to cluster_formation entry,
added logging of recombination
This commit is contained in:
2024-03-05 16:23:01 +01:00
parent 80fdfb6dc5
commit 5ac64c4da8
4 changed files with 24 additions and 9 deletions
+3
View File
@@ -22,6 +22,8 @@ std::shared_ptr<DeletionLogger> buildDeletionLogger(json_t* object) {
used_types.push_back(DeletionType::max_interactions);
} else if (type_alias == "max_time_alive") {
used_types.push_back(DeletionType::max_time_alive);
} else if (type_alias == "cluster_formation") {
used_types.push_back(DeletionType::cluster_formation);
} else {
ERROR("This deletion type is not known");
}
@@ -32,6 +34,7 @@ std::shared_ptr<DeletionLogger> buildDeletionLogger(json_t* object) {
used_types.push_back(DeletionType::recombination);
used_types.push_back(DeletionType::max_interactions);
used_types.push_back(DeletionType::max_time_alive);
used_types.push_back(DeletionType::cluster_formation);
}
}