class: DecTreeForm

public class: DecTreeForm
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 12:20:22; Modified: 12.12.2005 21:48:07;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {3D22EC6F-E3FD-4f1d-BC59-45061158D355}
The main window of Decision Tree module. It has a menu, toolbar and tree view. From this window user manage all the modul.

 

Goto: Fields, Methods

Extends: CommonWindow

See also: DecTreeDataClassify, DecTreeProperties, CommonWindow, DecisionTreeInfo, DecTreeMain, DecisionTree, DecTreeDataBuild, CART, ID3

Appears in: Main classes

Connections
 
DecTreeForm Attributes
Attribute Details
private System.Windows.Forms.MainMenu
  mainMenu1
private System.Windows.Forms.MenuItem
  menuItem1
private System.Windows.Forms.MenuItem
  menuItem10
private System.Windows.Forms.MenuItem
  menuItem2
private System.Windows.Forms.MenuItem
  menuItemClose
private System.Windows.Forms.MenuItem
  menuItemOpen
private System.Windows.Forms.MenuItem
  menuItemSave
private System.Windows.Forms.MenuItem
  menuItemClassify
private System.Windows.Forms.MenuItem
  menuItemCART
private System.Windows.Forms.MenuItem
  menuItemID3
private System.ComponentModel.IContainer
  components
private DecisionTree
  Tree
Notes: The decision tree. Viewed in tree view.

private DecTreeDataBuild
  DataBuild
private DecTreeDataClassify
  DataClassify
private DecTreeProperties
  Properties
private CART
  methodCART
Notes: CART method instance.

private ID3
  methodID3
Notes: ID3 method instance.

private System.Windows.Forms.MenuItem
  menuItemCARTProperties
private System.Windows.Forms.MenuItem
  menuItem3
private System.Windows.Forms.MenuItem
  menuItemID3Properties
private System.Windows.Forms.MenuItem
  menuItem4
private System.Windows.Forms.MenuItem
  menuItemDataBuild
private System.Windows.Forms.MenuItem
  menuItemDataClassify
private System.Windows.Forms.MenuItem
  menuItem5
private System.Windows.Forms.MenuItem
  menuItem6
private System.Windows.Forms.MenuItem
  menuItem7
private PTreeViewer.TreeControl
  treeControl1
private System.Windows.Forms.Panel
  panel1
private System.Windows.Forms.MenuItem
  menuItem8
private System.Windows.Forms.MenuItem
  menuItem16
private System.Windows.Forms.MenuItem
  menuItemProb
private System.Windows.Forms.MenuItem
  menuItemQuestion
private System.Windows.Forms.MenuItem
  menuItemAnswer
private System.Windows.Forms.MenuItem
  menuItemCount
private System.Windows.Forms.MenuItem
  menuItemResult
private System.Windows.Forms.MenuItem
  menuItemAll
private System.Windows.Forms.MenuItem
  menuItemNothing
private System.Windows.Forms.ProgressBar
  progressBar1
private System.Windows.Forms.MenuItem
  menuItem11
private System.Windows.Forms.ToolBar
  toolBar1
private System.Windows.Forms.ImageList
  imageList1
private System.Windows.Forms.ToolBarButton
  toolBarButton1
private System.Windows.Forms.ToolBarButton
  toolBarButton2
private System.Windows.Forms.ToolBarButton
  toolBarButton3
private System.Windows.Forms.ToolBarButton
  toolBarButton4
private System.Windows.Forms.ToolBarButton
  toolBarButton5
private System.Windows.Forms.ToolBarButton
  toolBarButton6
private System.Windows.Forms.MenuItem
  menuItem9
private System.Windows.Forms.MenuItem
  menuItemStep
private System.Windows.Forms.MenuItem
  menuItemBuild
private System.Windows.Forms.MenuItem
  menuItemTreeInfo
 
DecTreeForm Methods
Operation Details
public
DecTreeForm(
   DBDataAdmin dbDataAdmin,
   OneTransform ot):
Sequential
Notes: Constructor. Creates some other windows, controls and method instances.
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
menuItemClose_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemCART_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemID3_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemCARTProperties_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemID3Properties_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemData_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemClassify_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemSave_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemOpen_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemDataClassify_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemTreeInfo_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItem6_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemBuild_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemStep_Click_1(
   object sender,
   System.EventArgs e):void
Sequential
private
toolBar1_ButtonClick(
   object sender,
   System.Windows.Forms.ToolBarButtonClickEventArgs e):void
Sequential
private
DecTreeForm_Paint(
   object sender,
   System.Windows.Forms.PaintEventArgs e):void
Sequential
private
DecTreeForm_Closing(
   object sender,
   System.ComponentModel.CancelEventArgs e):void
Sequential
private
setViewProperty():void
Sequential
Notes: Set the View property in the Tree according the state of checked menu items.
private
clickViewProperty(
   object sender):void
Sequential
Notes: General method for view menu item clicked.
private
clickViewAllProperty(
   bool value):void
Sequential
Notes: Set true or false to all of the view menu items.
private
menuItemProb_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemQuestion_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemAnswer_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemCount_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemResult_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemAll_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
menuItemNothing_Click(
   object sender,
   System.EventArgs e):void
Sequential
private
BuildCommand():void
Sequential
Notes: Checks some prerequisites and run the selected method.
private
StepCommand():void
Sequential
Notes: Checks some prerequisites and run the stepping of the selected method.
private
BuildTree(
   DecTreeMethod method):void
Sequential
Notes: Calls the main building (stepping) method, but does the time measuring and progress bar settings around it.
private
TreePropertiesCommand():void
Sequential
Notes: Show the decision tree information window, if the tree exists.
private
OpenCommand():void
Sequential
Notes: Open the tree from XML document.
private
SaveCommand():void
Sequential
Notes: Saves a tree into a XML document, if the tree exists.
private
ClassifyCommand():void
Sequential
Notes: Chcecks some prerequisites and then run the classification.