#ifdef STATISTICS #include "Behavioural/include/Stat.h" namespace morpheo { namespace behavioural { Stat_binary_tree * Stat::string2tree (std::string expr) { std::map * operand = new std::map; for (std::map::iterator it = _list_operand->begin(); it != _list_operand->end(); ++ it) (*operand) [it->first] = it->second.counter; Stat_binary_tree * tree = new Stat_binary_tree(expr,operand); delete operand; return tree; } }; }; #endif