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
Constructors -
Method Summary
-
Constructor Details
-
CNode
public CNode(int numAttributes) Creates an emptyCNodeinstance.- Parameters:
numAttributes- the number of attributes in the data
-
CNode
Creates a new leafCNodeinstance.- 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:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-