public class Cobweb.CNode extends Object implements 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 |
---|---|
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 String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.