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

Data::ColumnTyped< Type > Class Template Reference

Abstract class to represent a typed column. More...

#include <columntyped.hh>

Inheritance diagram for Data::ColumnTyped< Type >:

Data::Column List of all members.

Public Member Functions

virtual Type & get_value (unsigned int i)
 get a line of the column

virtual void add_value (Type val)
 add a line in the column

bool is_finish (Tree::DecisionTree &inf_tree, std::vector< Data::Column * > &cols, std::vector< unsigned int > &inds) const
 return true when a tree is finished (all result the same)

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
 same as previous function, optimized when there is two tree (optimized for binary tree)


Protected Attributes

std::vector< Type > _values
Stats::Stats< Type > _stats

Detailed Description

template<typename Type>
class Data::ColumnTyped< Type >

Abstract class to represent a typed column.

Author:
Julien LEMOINE <speedblue@debian.org>

Definition at line 37 of file columntyped.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