Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager Interface Reference

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

kddml.Core.DataMining.ClassificationTrees.NodeManager kddml.Core.DataMining.ClassificationTrees.SimpleNode List of all members.

Public Member Functions

Enumeration getChildren ()
double getRecordCount ()
String getScore ()
int getLevel ()
int getNumOfChildren ()
SimpleNodeManager getParent ()
Predicate getPredicate ()
void setDistribution (ScoreDistributionManager score_distribution)
ScoreDistributionManager getDistribution ()
boolean isLeaf ()
boolean isRoot ()
void addChild (SimpleNodeManager node)
SimpleNodeManager getChild (int index) throws TreeModelException
void setRecordCount (double record_count)
int getDepth ()
int getNumberOfLeaves ()
Vector getLeaves ()

Detailed Description

A manager interface for SimpleNode.

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

Enumeration kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getChildren  ) 
 

Returns the direct children of this node or null if the node is a leaf node. If null is returned, then isLeaf() must return true for this node and getNumChildren() must return 0.

Returns:
Enumeration a list of SimpleNodeManager or null.

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

double kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getRecordCount  ) 
 

Returns the number of cases assigned to this tree node or -1 if the value is not specified.

Returns:
double

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

String kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getScore  ) 
 

Return the category of the node assigned by the algorithm.

Returns:
String

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

int kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getLevel  ) 
 

Returns the level of this node where level(root)=1. If 1 is returned, then getParent() must return null.

Returns:
int

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

int kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getNumOfChildren  ) 
 

Returns the number of children available for this tree node. If 0 is returned, then isLeaf() must return true for this node and getChildren() must return null.

Returns:
int

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

SimpleNodeManager kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getParent  ) 
 

Returns parent of this node or null if the node has no parent. If null is returned, then getLevel() of this node must return 1.

Returns:
SimpleNodeManager

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

Predicate kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getPredicate  ) 
 

Returns the predicate assigned to this node.

Returns:
Predicate

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

void kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.setDistribution ScoreDistributionManager  score_distribution  ) 
 

Sets the score distribution to this node

Parameters:
score_distribution ScoreDistributionManager

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

ScoreDistributionManager kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getDistribution  ) 
 

Returns the score distribution of this node. Returns null if no score distribution is created.

Returns:
ScoreDistributionManager

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

boolean kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.isLeaf  ) 
 

Returns true if this node is a leaf.

Returns:
boolean

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

boolean kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.isRoot  ) 
 

Returns true if the node is the root

Returns:
boolean

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

void kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.addChild SimpleNodeManager  node  ) 
 

Adds a new child to this node. Adds the child to the end.

Parameters:
node SimpleNodeManager

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

SimpleNodeManager kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getChild int  index  )  throws TreeModelException
 

Returns the i-esim child of this node. Throws an exception if index is out of bound or the node do not have children.

Parameters:
index int
Exceptions:
TreeModelException 
Returns:
SimpleNodeManager

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

void kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.setRecordCount double  record_count  ) 
 

Sets the recond count value to this node.

Parameters:
record_count double

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

int kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getDepth  ) 
 

Returns the depth of this node where the leaves have depth equal to 0.

Returns:
int a positive value.

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

int kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getNumberOfLeaves  ) 
 

Returns the number of leaves for this node.

Returns:
int

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.

Vector kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager.getLeaves  ) 
 

Returns the list of leaves for this node. Returns an empty vector if the node is a leaf.

Returns:
SimpleNodeManager[]

Implemented in kddml.Core.DataMining.ClassificationTrees.SimpleNode.


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