Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.Taxonomy.HierarchyNode Class Reference

Inheritance diagram for kddml.Core.DataMining.Taxonomy.HierarchyNode:

kddml.Core.DataMining.Taxonomy.HierarchyNodeManager List of all members.

Public Member Functions

void addChild (HierarchyNodeManager node)
int getLevel ()
int getDimension ()
HierarchyNodeManager getParent ()
String toString ()
String getName ()
boolean isLeaf ()
boolean isRoot ()
int getNumberOfChildren ()
HierarchyNodeManager[] getChildren ()
Iterator getLeaves ()

Detailed Description

This class represents a single node hierarchy. It is composed by three major parts:
  1. the node name;
  2. the pointer to the children list.
  3. the pointer to the parent node.

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

void kddml.Core.DataMining.Taxonomy.HierarchyNode.addChild HierarchyNodeManager  node  ) 
 

Adds a new child to this hierarchy node.

Parameters:
node HierarchyNodeManager

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

int kddml.Core.DataMining.Taxonomy.HierarchyNode.getLevel  ) 
 

Returns the level of this node where level(root)=0.

Returns:
int

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

int kddml.Core.DataMining.Taxonomy.HierarchyNode.getDimension  ) 
 

Returns the dimension of the sub-nodes of this node.

Returns:
int

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

HierarchyNodeManager kddml.Core.DataMining.Taxonomy.HierarchyNode.getParent  ) 
 

Returns the parent node.

Returns:
HierarchyNodeManager

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

String kddml.Core.DataMining.Taxonomy.HierarchyNode.toString  ) 
 

Returns a representation of this object as string.

Returns:
String

String kddml.Core.DataMining.Taxonomy.HierarchyNode.getName  ) 
 

Returns the node name.

Returns:
String

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

boolean kddml.Core.DataMining.Taxonomy.HierarchyNode.isLeaf  ) 
 

Returns boolean indicating whether this node is a leaf (terminal node).

Returns:
boolean

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

boolean kddml.Core.DataMining.Taxonomy.HierarchyNode.isRoot  ) 
 

Returns boolean indicating whether this node is the node root of the hierarchy.

Returns:
boolean

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

int kddml.Core.DataMining.Taxonomy.HierarchyNode.getNumberOfChildren  ) 
 

Returns the number of children available for this tree node.

Returns:
int

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

HierarchyNodeManager [] kddml.Core.DataMining.Taxonomy.HierarchyNode.getChildren  ) 
 

Returns the direct children of this node or null if the node is a leaf node.

Returns:
HierarchyNodeManager[]

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.

Iterator kddml.Core.DataMining.Taxonomy.HierarchyNode.getLeaves  ) 
 

Return all the leaves of the current node as iterator.

Returns:
Iterator

Implements kddml.Core.DataMining.Taxonomy.HierarchyNodeManager.


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