public class ReferenceInstances extends Instances
ARFF_DATA, ARFF_RELATION, FILE_EXTENSION, SERIALIZED_OBJ_FILE_EXTENSION| Constructor and Description | 
|---|
| ReferenceInstances(Instances dataset,
                  int capacity)Creates an empty set of instances. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addReference(Instance instance)Adds one instance reference to the end of the set. | 
| java.lang.String | getRevision()Returns the revision string. | 
add, attribute, attribute, attributeStats, attributeToDoubleArray, checkForAttributeType, checkForStringAttributes, checkInstance, classAttribute, classIndex, compactify, delete, delete, deleteAttributeAt, deleteAttributeType, deleteStringAttributes, deleteWithMissing, deleteWithMissing, deleteWithMissingClass, enumerateAttributes, enumerateInstances, equalHeaders, firstInstance, getRandomNumberGenerator, insertAttributeAt, instance, kthSmallestValue, kthSmallestValue, lastInstance, main, meanOrMode, meanOrMode, mergeInstances, numAttributes, numClasses, numDistinctValues, numDistinctValues, numInstances, randomize, readInstance, relationName, renameAttribute, renameAttribute, renameAttributeValue, renameAttributeValue, resample, resampleWithWeights, resampleWithWeights, resampleWithWeights, resampleWithWeights, setClass, setClassIndex, setRelationName, sort, sort, stratify, stringFreeStructure, sumOfWeights, swap, test, testCV, toString, toSummaryString, trainCV, trainCV, variance, variancepublic ReferenceInstances(Instances dataset, int capacity)
dataset - the instances to get the header information fromcapacity - the initial storage capacity of the setpublic final void addReference(Instance instance)
instance - the instance to be addedpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class Instances