weka.associations.tertius
Class IndividualInstance

java.lang.Object
  extended byweka.core.Instance
      extended byweka.associations.tertius.IndividualInstance
All Implemented Interfaces:
Copyable, java.io.Serializable

public class IndividualInstance
extends Instance

See Also:
Serialized Form

Field Summary
private  Instances m_parts
           
 
Fields inherited from class weka.core.Instance
m_AttValues, m_Dataset, m_Weight, MISSING_VALUE
 
Constructor Summary
IndividualInstance(IndividualInstance instance)
           
IndividualInstance(Instance individual, Instances parts)
           
 
Method Summary
 java.lang.Object copy()
          Produces a shallow copy of this instance.
 Instances getParts()
           
 
Methods inherited from class weka.core.Instance
attribute, attributeSparse, classAttribute, classIndex, classIsMissing, classValue, dataset, deleteAttributeAt, enumerateAttributes, equalHeaders, index, insertAttributeAt, isMissing, isMissing, isMissingSparse, isMissingValue, main, mergeInstance, missingValue, numAttributes, numClasses, numValues, replaceMissingValues, setClassMissing, setClassValue, setClassValue, setDataset, setMissing, setMissing, setValue, setValue, setValue, setValue, setValueSparse, setWeight, stringValue, stringValue, toDoubleArray, toString, toString, toString, value, value, valueSparse, weight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_parts

private Instances m_parts
Constructor Detail

IndividualInstance

public IndividualInstance(Instance individual,
                          Instances parts)

IndividualInstance

public IndividualInstance(IndividualInstance instance)
Method Detail

copy

public java.lang.Object copy()
Description copied from class: Instance
Produces a shallow copy of this instance. The copy has access to the same dataset. (if you want to make a copy that doesn't have access to the dataset, use new Instance(instance)

Specified by:
copy in interface Copyable
Overrides:
copy in class Instance
Returns:
the shallow copy

getParts

public Instances getParts()