public class Cobweb.CNode extends java.lang.Object implements java.io.Serializable, RevisionHandler
Serializable
,
Serialized FormConstructor and Description |
---|
CNode(int numAttributes)
Creates an empty
CNode instance. |
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 CNode(int numAttributes)
CNode
instance.numAttributes
- the number of attributes in the datapublic 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