weka.clusterers
Class Cobweb.CNode

java.lang.Object
  extended by weka.clusterers.Cobweb.CNode
All Implemented Interfaces:
Serializable, RevisionHandler
Enclosing class:
Cobweb

public class Cobweb.CNode
extends Object
implements Serializable, RevisionHandler

Inner class handling node operations for Cobweb.

See Also:
Serializable, Serialized Form

Constructor Summary
Cobweb.CNode(int numAttributes)
          Creates an empty CNode instance.
Cobweb.CNode(int numAttributes, Instance leafInstance)
          Creates a new leaf CNode instance.
 
Method Summary
 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 String getRevision()
Returns the revision string.

Specified by:
getRevision in interface RevisionHandler
Returns:
the revision


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.