rdr.methods
Class SCRDR
java.lang.Object
rdr.core.Classifier
rdr.methods.SCRDR
- All Implemented Interfaces:
- java.io.Serializable
public class SCRDR
- extends Classifier
Single Classification Ripple Down Rules
Based on specification by Compton and Jansen
Uses BinaryTreeNode.java
- Author:
- Ivan Bindoff
- See Also:
- Serialized Form
Constructor Summary |
SCRDR()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCRDR
public SCRDR()
classify
public common.datastructures.MyFastVector<Node> classify(Case c)
- Specified by:
classify
in class Classifier
classify
public void classify(Case c,
BinaryTreeNode n)
- Classify a case using single classification RDR
- Parameters:
c
- the case to classifyn
- the node that is currently being considered
load
public boolean load()
- Specified by:
load
in class Classifier
save
public boolean save()
- Specified by:
save
in class Classifier
insertNode
public boolean insertNode(Case theCase,
Node newNode,
Node parentNode)
- Specified by:
insertNode
in class Classifier
launchKAGUI
public void launchKAGUI(int mode,
Case c)
- Specified by:
launchKAGUI
in class Classifier
launchKAGUI
public void launchKAGUI(int mode,
Case c,
int nodeEditing)
- Specified by:
launchKAGUI
in class Classifier
getNode
public BinaryTreeNode getNode(int nodeID)
- Find the node with nodeID
- Parameters:
nodeID
-
- Returns:
- the node
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in class Classifier