#include <column.hh>
Inheritance diagram for Data::Column:

Public Member Functions | |
| void | set_name (std::string &name) |
| set column name | |
| const unsigned int | get_size () const |
| get number of element in column | |
| const std::string & | get_name () const |
| get column name | |
| virtual void | set_type (coltype type) |
| set column type | |
| virtual coltype | get_type () const |
| get column type | |
| virtual bool | is_finish (Tree::DecisionTree &inf_tree, std::vector< Data::Column * > &cols, std::vector< unsigned int > &inds) const=0 |
| return true when a tree is finished (all result the same) | |
| virtual std::pair< bool, bool > | is_finished (Tree::DecisionTree &inf_tree, Tree::DecisionTree &sup_tree, std::vector< Data::Column * > &cols, std::vector< unsigned int > &inds) const=0 |
| same as previous function, optimized for binary trees | |
Protected Attributes | |
| unsigned int | _size |
| std::string | _name |
| coltype | _type |
Definition at line 71 of file column.hh.
1.3.2