m2etis
0.4
|
#include <DecisionTreeFilter.h>
This class filters events by matching with Aguilera´s algorithm
prerequisites for aguilera filter strategy:
example for the creation of a filter which fulfills the prerequisites mentioned above: std::vector<std::string> region_= {std::string("Erlangen") }; std::vector<int> x_ = {}; std::vector<int> y_ = {20};
auto subscribe_filter = boost::make_shared<m2etis::pubsub::filter::AndExp<Position> > ( Equals<Position, int>(POSITION_X, {x_}) && Equals<Position, std::string>(POSITION_REGION, {region_}) && Equals<Position, int>(POSITION_Y, {y_}) );