rdr.core
Class Classifier
java.lang.Object
rdr.core.Classifier
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MCRDR, SCRDR
public abstract class Classifier
- extends java.lang.Object
- implements java.io.Serializable
Abstract class: Classifier
Serves as a template for actual classifiers, which should extend this class.
- Author:
- Ivan Bindoff
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeIndex
public common.datastructures.MyFastVector<Node> nodeIndex
highestID
public int highestID
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
Classifier
public Classifier()
classify
public abstract common.datastructures.MyFastVector<Node> classify(Case c)
load
public abstract boolean load()
save
public abstract boolean save()
insertNode
public abstract boolean insertNode(Case theCase,
Node newNode,
Node parentNode)
launchKAGUI
public abstract void launchKAGUI(int mode,
Case c)
launchKAGUI
public abstract void launchKAGUI(int mode,
Case c,
int nodeEditing)
getClassName
public abstract java.lang.String getClassName()
incrementID
public int incrementID()
- Increment the highestID - do this whenever a node is actually inserted into a knowledge base
getNodeIndex
public common.datastructures.MyFastVector<Node> getNodeIndex()
- Get the nodeIndex
- Returns:
- the index of nodes