m2etis  0.4
DecisionTreeFilter Class Reference

#include <DecisionTreeFilter.h>

Detailed Description

This class filters events by matching with Aguilera´s algorithm

prerequisites for aguilera filter strategy:

  • prerequisite conjunctive filters of equality predicates ordered by attribute id
  • all filters must contain the same attributes in the same order
  • a dont care edge may be represented by an empty constant vector in the EqualsAttributeFilter

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_}) );


The documentation for this class was generated from the following file: