16 #include <core/data/sframe/gl_sframe.hpp> 17 #include <core/data/sframe/gl_sarray.hpp> 19 #include <toolkits/feature_engineering/topk_indexer.hpp> 20 #include <toolkits/feature_engineering/statistics_tracker.hpp> 23 namespace pattern_mining {
25 const size_t ROOT_ID = -1;
50 std::vector<std::shared_ptr<fp_node>> children_nodes;
59 fp_node(
const size_t&
id = ROOT_ID,
const size_t& node_depth = 0);
fp_node(const size_t &id=ROOT_ID, const size_t &node_depth=0)
std::vector< size_t > get_path_to_root()
fp_node * get_child(const size_t &child_id) const
fp_node * add_child(const size_t &child_id)