weka.clusterers

## Class Cobweb.CNode

- java.lang.Object
- - weka.clusterers.Cobweb.CNode

- All Implemented Interfaces:
    java.io.Serializable, RevisionHandler
  Enclosing class:
    Cobweb

      public class Cobweb.CNode
      extends java.lang.Object
      implements java.io.Serializable, RevisionHandler

  Inner class handling node operations for Cobweb.
  See Also:
    `Serializable`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Cobweb.CNode(int numAttributes)` Creates an empty `CNode` instance.
    `Cobweb.CNode(int numAttributes, Instance leafInstance)` Creates a new leaf `CNode` instance.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getRevision()` Returns the revision string.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Cobweb.CNode

          public Cobweb.CNode(int numAttributes)

      Creates an empty `CNode` instance.
      Parameters:
        `numAttributes` - the number of attributes in the data

    - #### Cobweb.CNode

          public Cobweb.CNode(int numAttributes,
                      Instance leafInstance)

      Creates a new leaf `CNode` instance.
      Parameters:
        `numAttributes` - the number of attributes in the data
        `leafInstance` - the instance to store at this leaf

  - ### Method Detail

    - #### getRevision

          public java.lang.String getRevision()

      Returns the revision string.
      Specified by:
        `getRevision` in interface `RevisionHandler`
      Returns:
        the revision