8#include <unordered_map>
22 std::unordered_map<std::string,
45 const std::unordered_map<std::string, std::shared_ptr<RuleStrategy>>& ruleMap,
46 const std::vector<RuleConfig>& configs);
void printpipeline(EvaluationPipeline &pipeline)
Prints the structure and contents of the given evaluation pipeline for debugging or logging.
Definition RuleOrdering.cpp:59
EvaluationPipeline buildPipeline(const std::unordered_map< std::string, std::shared_ptr< RuleStrategy > > &ruleMap, const std::vector< RuleConfig > &configs)
Builds an evaluation pipeline by organizing and sorting rules.
Definition RuleOrdering.cpp:18
Abstract class for the strategy pattern, defining the interface for different rule strategies.
Holds the categorized and organized rules ready for execution.
Definition RuleOrdering.hpp:17
std::vector< std::shared_ptr< RuleStrategy > > correlation_rules
Collection of correlation rules.
Definition RuleOrdering.hpp:29
std::unordered_map< std::string, std::vector< std::shared_ptr< RuleStrategy > > > primary_by_sensor
Map of primary rules grouped by their target sensor ID.
Definition RuleOrdering.hpp:23