AstraLog-HPC
Loading...
Searching...
No Matches
Strategy.hpp File Reference

Abstract class for the strategy pattern, defining the interface for different rule strategies. More...

#include <functional>
#include <string>
#include <unordered_map>
#include <vector>
#include <variant>
Include dependency graph for Strategy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RuleStrategy
 Abstract base class that defines the interface for all rule evaluation strategies. More...
 
struct  RuleConfig
 A configuration structure used to instantiate any type of RuleStrategy. More...
 

Typedefs

using ResultMap = std::unordered_map< std::string, bool >
 Alias for a map containing the boolean evaluation results of rules, keyed by rule ID.
 

Detailed Description

Abstract class for the strategy pattern, defining the interface for different rule strategies.

It will be implemented by the different rule types (simple, stateful, correlation, step_difference).

Typedef Documentation

◆ ResultMap

Alias for a map containing the boolean evaluation results of rules, keyed by rule ID.