class: DecisionTree

public class: DecisionTree
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 12:26:02; Modified: 12.12.2005 21:48:33;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {56EE64CB-8D14-4623-A24A-D8B8BA916EA9}
The tree - keeps a root, some information about the whole tree and can work with XML

 

Goto: Fields, Methods

See also: DecisionTreeNode, DecisionTreeNode, DecisionTreeInfo, DecTreeDataClassify, DecTreeForm, DecTreeMethod

Appears in: Tree classes

Connections
 
DecisionTree Attributes
Attribute Details
public DecisionTreeNode
  Root
Initial: null
Notes: Root of the tree.
public ArrayList
  UsedColumns
Notes: List of names of used columns. No info about types.
public string
  ResultClassType
Notes: Type of a column of result class.
public Form
  Parent
Notes: Parent window for MessageBoxes etc.
public DecisionTreeNode
  SelectedNode
Initial: null
public bool
  ViewProb
public bool
  ViewCount
public bool
  ViewResultClass
public bool
  ViewQuestion
public bool
  ViewAnswer
 
DecisionTree Methods
Operation Details
public
DecisionTree(
   Form parent):
Sequential
public
SaveToXML(
   string filename):void
Sequential
Notes: Saves a tree to XML filename.
public
LoadFromXML(
   string filename):void
Sequential
Notes: Loads a tree from XML filename.
public
CopyToViewer(
   TreeControl control):void
Sequential
Notes: Copies the tree into a tree viewer control.
private
addLine(
   String s,
   String newS):void
Sequential
Notes: Adds a new line to the old string.
private
CopyToViewerRecursive(
   DecisionTreeNode node,
   NodeCl clnode):void
Sequential
Notes: Copies the tree into a tree viewer control. Recursive kernel.