rdr.methods
Class SCRDR

java.lang.Object
  extended by rdr.core.Classifier
      extended by 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

Field Summary
 
Fields inherited from class rdr.core.Classifier
highestID, nodeIndex
 
Constructor Summary
SCRDR()
           
 
Method Summary
 common.datastructures.MyFastVector<Node> classify(Case c)
           
 void classify(Case c, BinaryTreeNode n)
          Classify a case using single classification RDR
 java.lang.String getClassName()
           
 BinaryTreeNode getNode(int nodeID)
          Find the node with nodeID
 boolean insertNode(Case theCase, Node newNode, Node parentNode)
           
 void launchKAGUI(int mode, Case c)
           
 void launchKAGUI(int mode, Case c, int nodeEditing)
           
 boolean load()
           
 boolean save()
           
 
Methods inherited from class rdr.core.Classifier
getNodeIndex, incrementID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCRDR

public SCRDR()
Method Detail

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 classify
n - 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