Package weka.clusterers
Class Cobweb.CNode
java.lang.Object
weka.clusterers.Cobweb.CNode
- All Implemented Interfaces:
Serializable
,RevisionHandler
- Enclosing class:
- Cobweb
Inner class handling node operations for Cobweb.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CNode
public CNode(int numAttributes) Creates an emptyCNode
instance.- Parameters:
numAttributes
- the number of attributes in the data
-
CNode
Creates a new leafCNode
instance.- Parameters:
numAttributes
- the number of attributes in the dataleafInstance
- the instance to store at this leaf
-
-
Method Details
-
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Returns:
- the revision
-