class: DecTreeDataClassify

public class: DecTreeDataClassify
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 12:20:21; Modified: 12.12.2005 21:48:22;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {9BF3BB47-0A2A-4c48-B94E-34D51ED82154}
Properties about data used for classification. User window for setting them.

 

Goto: Fields, Methods

Extends: DecTreeData

See also: DecTreeData, DecTreeForm, DecisionTree, DecTreeMethod

Appears in: Main classes

Connections
 
DecTreeDataClassify Attributes
Attribute Details
private System.Windows.Forms.Label
  label4
private System.Windows.Forms.Button
  buttonGetData
private System.Windows.Forms.Label
  labelData
private System.ComponentModel.Container
  components
Initial: null
Notes: Required designer variable.

public string
  ClassifyColumn
Notes: The column to which the result class will be written.

public bool
  Visited
Initial: false
Notes: If this dialog was visited by user.

private DecisionTree
  Tree
Notes: The decision tree.

private System.Windows.Forms.Button
  buttonOK
private System.Windows.Forms.Button
  buttonCancel
private System.Windows.Forms.TextBox
  textWorking
private System.Windows.Forms.Label
  label1
private System.Windows.Forms.Label
  label2
private System.Windows.Forms.Label
  label3
private System.Windows.Forms.Label
  label5
private System.Windows.Forms.Label
  label6
private System.Windows.Forms.TextBox
  textClassify
private System.Windows.Forms.ListBox
  listBoxTree
private System.Windows.Forms.ListBox
  listBoxTable
private System.Windows.Forms.Label
  label7
 
DecTreeDataClassify Methods
Operation Details
public
DecTreeDataClassify(
   DBDataAdmin dbDataAdmin,
   DecisionTree tree):
Sequential
Notes: Constructor. Fills the dialog with the actual version from DBDataAdmin.
private
UpdateTreeColumns():void
Sequential
Notes: Updates the listbox of tree columns and checks the subset.
private
UpdateSubsetCondition():void
Sequential
Notes: Updates the condition text "OK" or "NO".
protected
Dispose(
   bool disposing):void
Sequential
Tags: override=true
Notes: Clean up any resources being used.
private
InitializeComponent():void
Sequential
Notes: Required method for Designer support - do not modify the contents of this method with the code editor.
private
FillVersion(
   DMTransformStruct.Version version):void
Sequential
Notes: Fill the version info into this form.
public
GoodSubset():bool
Sequential
Notes: Checks if the Tree.UsedColumns is a subset of the listBoxTable, which contains the column of current version.

@param ="listTree"
@returns
private
Contained(
   IEnumerable list,
   string text):bool
Sequential
Notes: Checks if the list contains the text.

@returns
private
buttonGetData_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Shows the select version dialog and fill the version.
private
buttonCancel_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Cancel dialog. Closes window.
private
buttonOK_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Ok. Checks some settings, saves it. Closes window.
private
DecTreeDataClassify_Activated(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Activate event. Updates the information about columns from tree, because it could be changed.