Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addChild(int, DTNode) - Method in class dtree.DTNode
-
Add a child node.
- addChild(String, DTNode) - Method in class dtree.DTNode
-
Add a child node.
- addNode(int, DTNode) - Method in class dtree.DTree
-
Add a node to the decision tree.
- addNode(String, DTNode) - Method in class dtree.DTree
-
Add a node to the decision tree.
- ALL_ITEMS - Static variable in class dtree.DTView
-
mode flag: add all menu items
- att - Variable in class dtree.DTNode
-
the test attribute
- atts - Variable in class dtree.DTree
-
the underlying attributes
B
- best - Variable in class dtree.DTNode
-
the best class (highest probability)
- bot - Variable in class dtree.DTNode
-
the bottom border of the node cell
C
- CENTER - Static variable in class dtree.DTree
-
layout mode: center parent node
- children - Variable in class dtree.DTNode
-
the vector of children
- cloHorz1(int, int, int, int[], int[]) - Method in class dtree.DTNode
-
Do a compact horizontal layout of the subtree (pass 1).
- cloHorz2(int, int, int, int, int) - Method in class dtree.DTNode
-
Do a compact horizontal layout of the subtree (pass 2).
- cloVert1(int, int, int, int[], int[]) - Method in class dtree.DTNode
-
Do a compact vertical layout of the subtree (pass 1).
- cloVert2(int, int, int, int, int) - Method in class dtree.DTNode
-
Do a compact vertical layout of the subtree (pass 2).
- clscnt - Variable in class dtree.DTree
-
the number of classes (decision tree)
- COMPACT - Static variable in class dtree.DTree
-
layout mode: compact
- createExecutor(int) - Method in class dtree.DTreeGUI
-
Create an executor for a dialog tab.
- curr - Variable in class dtree.DTree
-
the current node of the tree
- cut - Variable in class dtree.DTNode
-
the cut value
D
- dev - Variable in class dtree.DTNode
-
the deviation of the prediction value (regression tree)
- doLayout() - Method in class dtree.DTPanel
-
Lay out the subtree, that is, compute node positions.
- DTInfo - Class in dtree
-
Class for a dialog to display decision tree node information.
- DTInfo() - Constructor for class dtree.DTInfo
-
Create a decision tree node information dialog.
- DTInfo(Frame) - Constructor for class dtree.DTInfo
-
Create a decision tree node information dialog.
- DTInfo(Frame, String) - Constructor for class dtree.DTInfo
-
Create a decision tree node information dialog.
- DTNode - Class in dtree
-
Class for a decision/regression tree node.
- DTNode(DTree) - Constructor for class dtree.DTNode
-
Create a decision/regression tree leaf.
- DTNode(DTree, String) - Constructor for class dtree.DTNode
-
Create a decision/regression tree node.
- DTNode(DTree, Column) - Constructor for class dtree.DTNode
-
Create a decision/regression tree node.
- DTNode(DTree, Column, double) - Constructor for class dtree.DTNode
-
Create a decision/regression tree node.
- DTPanel - Class in dtree
-
Class for a panel for a decision/regression tree display.
- DTPanel() - Constructor for class dtree.DTPanel
-
Create a decision/regression tree panel.
- DTPanel(DTree) - Constructor for class dtree.DTPanel
-
Create a decision/regression tree panel.
- dtree - package dtree
- DTree - Class in dtree
-
Class for a decision/regression tree.
- DTree(Table, int) - Constructor for class dtree.DTree
-
Create a decision/regression tree.
- DTree(Table, String) - Constructor for class dtree.DTree
-
Create a decision/regression tree.
- DTreeGUI - Class in dtree
-
Class for a user interface to the decision tree C programs.
- DTreeGUI() - Constructor for class dtree.DTreeGUI
-
Create a decision and regression tree GUI.
- DTreeGUI(Component) - Constructor for class dtree.DTreeGUI
-
Create a decision and regression tree GUI.
- DTView - Class in dtree
-
Class for a decision and regression tree viewer.
- DTView(int) - Constructor for class dtree.DTView
-
Create a decision and regression tree viewer.
- DTView(Component, int) - Constructor for class dtree.DTView
-
Create a decision and regression tree viewer.
F
- FILE_ITEMS - Static variable in class dtree.DTView
-
mode flag: add menu items for loading and saving trees
- find(int, int) - Method in class dtree.DTree
-
Find the node that is located at given coordinates.
- findHorz(int, int) - Method in class dtree.DTNode
-
Find the node that is located at given coordinates.
- findVert(int, int) - Method in class dtree.DTNode
-
Find the node that is located at given coordinates.
- fold(boolean) - Method in class dtree.DTPanel
-
Fold/unfold all nodes of the decision/regression tree.
- fold(boolean) - Method in class dtree.DTree
-
Fold/unfold all nodes of the decision/regression tree.
- fold(boolean, boolean) - Method in class dtree.DTNode
-
Fold/unfold the subtree rooted at the node.
- folded - Variable in class dtree.DTNode
-
whether subtree is folded
- freqs - Variable in class dtree.DTNode
-
the class frequencies (decision tree)
G
- getAtt() - Method in class dtree.DTNode
-
Get the test attribute of the node.
- getAttName() - Method in class dtree.DTNode
-
Get the name of the test attribute of the node.
- getAtts() - Method in class dtree.DTree
-
Get the underlying attributes.
- getBest() - Method in class dtree.DTNode
-
Get the best class of the node.
- getChild(int) - Method in class dtree.DTNode
-
Get a child of the node.
- getChildCount() - Method in class dtree.DTNode
-
Get the number of children of the node.
- getChildCount() - Method in class dtree.DTree
-
Get the number of children of the current node.
- getCurrent() - Method in class dtree.DTree
-
Get the current node of the decision/regression tree.
- getCut() - Method in class dtree.DTNode
-
Get the cut value of the node.
- getDev() - Method in class dtree.DTNode
-
Get the deviation of the prediction value of the node.
- getDTree() - Method in class dtree.DTNode
-
Get the containing decision tree.
- getDTree() - Method in class dtree.DTPanel
-
Get the decision/regression tree to display.
- getDTree() - Method in class dtree.DTView
-
Set the currently displayed decision or regression tree
- getFreq() - Method in class dtree.DTNode
-
Get the total of the class frequencies.
- getFreq(int) - Method in class dtree.DTNode
-
Get the frequency of a given class.
- getFreqCount() - Method in class dtree.DTNode
-
Get the number of class frequencies.
- getHeight() - Method in class dtree.DTNode
-
Get the height of the subtree rooted at the node.
- getHeight() - Method in class dtree.DTree
-
Get the height of the tree.
- getParent() - Method in class dtree.DTNode
-
Get the parent of the node.
- getPred() - Method in class dtree.DTNode
-
Get the prediction value of the node.
- getProb(int) - Method in class dtree.DTNode
-
Get the probability of a given class.
- getProbCount() - Method in class dtree.DTNode
-
Get the number of class probabilities.
- getRange() - Method in class dtree.DTree
-
Get the range of the prediction values.
- getRange(double[]) - Method in class dtree.DTNode
-
Get the range of prediction values in the subtree.
- getResultMsg() - Method in class dtree.DTreeGUI
-
Get the result message on successful termination.
- getRoot() - Method in class dtree.DTree
-
Get the root node of the decision/regression tree.
- getSize() - Method in class dtree.DTNode
-
Get the size of the subtree rooted at the node.
- getSize() - Method in class dtree.DTree
-
Get the size of the tree (number of nodes).
- getTarget() - Method in class dtree.DTree
-
Get the target attribute of the tree.
- getTargetId() - Method in class dtree.DTree
-
Get the id of the target attribute of the tree.
- getTargetType() - Method in class dtree.DTree
-
Get the type of the target attribute of the tree.
- getValue() - Method in class dtree.DTNode
-
Get the value associated with the edge to the node.
- getValueId() - Method in class dtree.DTNode
-
Get the value id associated with the edge to the node.
- getWidth() - Method in class dtree.DTNode
-
Get the width of the subtree rooted at the node (total number of leaves in the subtree).
- getWidth() - Method in class dtree.DTree
-
Get the width of the tree.
- getX() - Method in class dtree.DTNode
-
Get the x-coordinate of the node.
- getY() - Method in class dtree.DTNode
-
Get the y-coordinate of the node.
- goDown(int) - Method in class dtree.DTree
-
Go to a child of the current node.
- goDown(String) - Method in class dtree.DTree
-
Go to a child of the current node.
- goToRoot() - Method in class dtree.DTree
-
Set the current node to the root node.
- goUp() - Method in class dtree.DTree
-
Go to the parent node of the current node.
H
- HORIZONTAL - Static variable in class dtree.DTree
-
layout mode: horizontal
I
- isFolded() - Method in class dtree.DTNode
-
Check whether the subtree rooted at the node is folded.
- isLeaf() - Method in class dtree.DTNode
-
Check whether the node is a leaf node.
- isLeaf() - Method in class dtree.DTree
-
Check whether the current node is a leaf node.
- isRoot() - Method in class dtree.DTNode
-
Check whether the node is a root node.
- isRoot() - Method in class dtree.DTree
-
Check whether the current node is the root.
L
- layout(int, int, int, int, int) - Method in class dtree.DTree
-
Lay out the nodes of the tree.
- layoutHorz(int, int, int, int, int) - Method in class dtree.DTNode
-
Do a horizontal layout of the subtree.
- layoutVert(int, int, int, int, int) - Method in class dtree.DTNode
-
Do a vertical layout of the subtree.
- lft - Variable in class dtree.DTNode
-
the left border of the node cell
- LOAD_ITEMS - Static variable in class dtree.DTView
-
mode flag: add menu items for loading trees
- loadConfig(File) - Method in class dtree.DTreeGUI
-
Load a configuration file and set the input fields.
- loadDTree(File) - Method in class dtree.DTView
-
Load the decision or regression tree to display.
M
- main(String[]) - Static method in class dtree.DTInfo
-
Main function for testing basic functionality.
- main(String[]) - Static method in class dtree.DTree
-
Main function for testing basic functionality.
- main(String[]) - Static method in class dtree.DTreeGUI
-
Main function for command line invocation.
- main(String[]) - Static method in class dtree.DTView
-
Main function for command line invocation.
- makeImage() - Method in class dtree.DTPanel
-
Create an image of the panel contents.
- mode - Variable in class dtree.DTree
-
the layout mode
- mouseClicked(MouseEvent) - Method in class dtree.DTPanel
-
Needed for
MouseListener
interface. - mouseEntered(MouseEvent) - Method in class dtree.DTPanel
-
Needed for
MouseListener
interface. - mouseExited(MouseEvent) - Method in class dtree.DTPanel
-
Needed for
MouseListener
interface. - mousePressed(MouseEvent) - Method in class dtree.DTPanel
-
Handle folding/unfolding of nodes with the mouse.
- mouseReleased(MouseEvent) - Method in class dtree.DTPanel
-
Needed for
MouseListener
interface.
P
- paint(Graphics) - Method in class dtree.DTPanel
-
Repaint the whole panel.
- parent - Variable in class dtree.DTNode
-
the parent node
- parse(DTree, Scanner) - Static method in class dtree.DTNode
-
Parse a decision/regression tree node/subtree.
- parse(Scanner) - Static method in class dtree.DTree
-
Parse a decision/regression tree description.
- parse(Scanner, Table) - Static method in class dtree.DTree
-
Parse a decision/regression tree description.
- pred - Variable in class dtree.DTNode
-
the prediction value (regression tree)
- PROGRAM - Static variable in class dtree.DTView
-
mode flag: the viewer is a stand-alone program
- prune() - Method in class dtree.DTNode
-
Prune the subtree rooted at the node, that is, replace it with a leaf.
R
- REVERSE - Static variable in class dtree.DTree
-
layout mode: reverse branch order
- rgt - Variable in class dtree.DTNode
-
the right border of the node cell
- root - Variable in class dtree.DTree
-
the root node of the tree
- run() - Method in class dtree.DTreeGUI
-
Create the user interface.
- run() - Method in class dtree.DTView
-
Create the user interface.
S
- SAVE_ITEMS - Static variable in class dtree.DTView
-
mode flag: add menu items for saving trees
- saveConfig(File) - Method in class dtree.DTreeGUI
-
Save a configuration file
- saveDTree(File) - Method in class dtree.DTView
-
Save the displayed decision or regression tree.
- saveImage(File) - Method in class dtree.DTView
-
Save a PNG image of the panel.
- set - Variable in class dtree.DTNode
-
the set of attribute values
- setDataFile(File) - Method in class dtree.DTreeGUI
-
Set the data file.
- setDirect(boolean) - Method in class dtree.DTPanel
-
Set the edge drawing mode.
- setDomainsFile(File) - Method in class dtree.DTreeGUI
-
Set the domains file.
- setDTree(DTree) - Method in class dtree.DTPanel
-
Set the decision/regression tree to display.
- setDTree(DTree) - Method in class dtree.DTView
-
Set the decision or regression tree to display.
- setEdges(int) - Method in class dtree.DTPanel
-
Set the thickness of the connecting lines (in pixels).
- setEdges(int, boolean) - Method in class dtree.DTPanel
-
Set the thickness of the connecting lines (in pixels).
- setFont(Font) - Method in class dtree.DTPanel
-
Set the font for the node labels.
- setFont(Font, boolean) - Method in class dtree.DTPanel
-
Set the font for the node labels.
- setMessage(String) - Method in class dtree.DTView
-
Set the message to display in the status line.
- setMode(int) - Method in class dtree.DTPanel
-
Set the layout mode (horizontal vs.
- setNode(DTNode, Color[]) - Method in class dtree.DTInfo
-
Set the decision tree node to display.
- setParams(int, int, int, int, int, int) - Method in class dtree.DTPanel
-
Set the layout parameters.
- setTestFile(File) - Method in class dtree.DTreeGUI
-
Set the test file.
- showDetails() - Method in class dtree.DTPanel
-
Show detailed information about a decision tree node.
- showDTree(File) - Method in class dtree.DTreeGUI
-
Show a decision/regression tree.
- showDTree(JTextField) - Method in class dtree.DTreeGUI
-
Show a decision/regression tree.
- sum - Variable in class dtree.DTNode
-
the total frequency (total number of cases)
T
- target - Variable in class dtree.DTree
-
the target/class attribute
- tbot - Variable in class dtree.DTNode
-
the bottom border of the subtree
- tlft - Variable in class dtree.DTNode
-
the left border of the subtree
- top - Variable in class dtree.DTNode
-
the top border of the node cell
- toString() - Method in class dtree.DTree
-
Create a string description of the decision/regression tree.
- toString(int) - Method in class dtree.DTNode
-
Create a string description of the subtree.
- tree - Variable in class dtree.DTNode
-
the containing decision tree
- trgid - Variable in class dtree.DTree
-
the id of the target/class attribute
- trgt - Variable in class dtree.DTNode
-
the right border of the subtree
- ttop - Variable in class dtree.DTNode
-
the top border of the subtree
- type - Variable in class dtree.DTree
-
the type of the target/class attribute
U
- updateColors() - Method in class dtree.DTPanel
-
Update the color(s) for the target values.
V
- valid - Variable in class dtree.DTNode
-
parent attribute value id
- VERSION - Static variable in class dtree.DTreeGUI
-
the version string
- VERSION - Static variable in class dtree.DTView
-
the version string
- VERTICAL - Static variable in class dtree.DTree
-
layout mode: vertical
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form