Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager Interface Reference

Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager:

kddml.Core.DataMining.ClassificationTrees.NodeManager kddml.Core.DataMining.ClassificationTrees.CompoundTree kddml.Core.DataMining.ClassificationTrees.CompoundBaggingsTree kddml.Core.DataMining.ClassificationTrees.CompoundBooleanTree List of all members.

Public Member Functions

int getNumberOfTrees ()
NodeManager[] getTrees ()
void addTree (NodeManager tree)
void removeTree (int index) throws TreeModelException
abstract String classify (String[] values)

Detailed Description

A manager interface for a CompoundTree.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

int kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager.getNumberOfTrees  ) 
 

Returns the number of trees belonging to this compound tree.

Returns:
int

Implemented in kddml.Core.DataMining.ClassificationTrees.CompoundTree.

NodeManager [] kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager.getTrees  ) 
 

Returns all the trees belonging to this compound tree. Output trees can be either a simple tree, or another compound tree.

Returns:
Node[]

Implemented in kddml.Core.DataMining.ClassificationTrees.CompoundTree.

void kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager.addTree NodeManager  tree  ) 
 

Adds a new tree to this combination. Input tree can be either a simple tree, or a compound tree.

Parameters:
tree Node

Implemented in kddml.Core.DataMining.ClassificationTrees.CompoundTree.

void kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager.removeTree int  index  )  throws TreeModelException
 

Removes a tree with a specifiy index from this combination. Throws an exception if the index is out of range.

Parameters:
index int a non-negative value representing the index of the tree. Must be less than the number of trees returned by getNumberOfTrees. The first tree has index 0.
Exceptions:
TreeModelException if the index is out of range.

Implemented in kddml.Core.DataMining.ClassificationTrees.CompoundTree.

abstract String kddml.Core.DataMining.ClassificationTrees.CompoundTreeManager.classify String[]  values  )  [pure virtual]
 

Method used to classify an input instance. It depends from the type of combination used.

Parameters:
values String[] classification values returned by single trees.
Returns:
String the classification value.

Implemented in kddml.Core.DataMining.ClassificationTrees.CompoundBaggingsTree, kddml.Core.DataMining.ClassificationTrees.CompoundBooleanTree, and kddml.Core.DataMining.ClassificationTrees.CompoundTree.


Generated on Thu Feb 23 13:04:39 2006 for kddml by  doxygen 1.4.3