Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members

Data::Column Class Reference

Abstract class to represent a column. More...

#include <column.hh>

Inheritance diagram for Data::Column:

Data::ColumnTyped< Type > List of all members.

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

Detailed Description

Abstract class to represent a column.

Author:
Julien LEMOINE <speedblue@debian.org>

Definition at line 71 of file column.hh.


The documentation for this class was generated from the following files:
Generated on Tue Jul 29 15:39:09 2003 for libdatamining by doxygen 1.3.2