weka.associations.tertius
Class IndividualInstance

java.lang.Object
  extended by weka.core.AbstractInstance
      extended by weka.core.DenseInstance
          extended by weka.associations.tertius.IndividualInstance
All Implemented Interfaces:
java.io.Serializable, Copyable, Instance, RevisionHandler

public class IndividualInstance
extends DenseInstance

Version:
$Revision: 5987 $
Author:
Peter A. Flach, Nicolas Lachiche
See Also:
Serialized Form

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()
           
 java.lang.String getRevision()
          Returns the revision string.
 
Methods inherited from class weka.core.DenseInstance
index, main, mergeInstance, numAttributes, numValues, replaceMissingValues, setValue, setValueSparse, toDoubleArray, toStringNoWeight, value
 
Methods inherited from class weka.core.AbstractInstance
attribute, attributeSparse, classAttribute, classIndex, classIsMissing, classValue, dataset, deleteAttributeAt, enumerateAttributes, equalHeaders, equalHeadersMsg, hasMissingValue, insertAttributeAt, isMissing, isMissing, isMissingSparse, numClasses, relationalValue, relationalValue, setClassMissing, setClassValue, setClassValue, setDataset, setMissing, setMissing, setValue, setValue, setValue, setWeight, stringValue, stringValue, toString, toString, toString, value, valueSparse, weight
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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: DenseInstance
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 DenseInstance(instance)

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

getParts

public Instances getParts()

getRevision

public java.lang.String getRevision()
Returns the revision string.

Specified by:
getRevision in interface RevisionHandler
Overrides:
getRevision in class DenseInstance
Returns:
the revision