public class Cobweb.CNode extends java.lang.Object implements java.io.Serializable, RevisionHandler
Serializable,
Serialized Form| Constructor and Description |
|---|
Cobweb.CNode(int numAttributes)
Creates an empty
CNode instance. |
Cobweb.CNode(int numAttributes,
Instance leafInstance)
Creates a new leaf
CNode instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
public Cobweb.CNode(int numAttributes)
CNode instance.numAttributes - the number of attributes in the datapublic Cobweb.CNode(int numAttributes,
Instance leafInstance)
CNode instance.numAttributes - the number of attributes in the dataleafInstance - the instance to store at this leafpublic java.lang.String getRevision()
getRevision in interface RevisionHandler