public class FeatureVector extends java.util.ArrayList<FeatureFunction> implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
FeatureVector(FeatureModel _featureModel,
SpecificationSubModel _specSubModel)
Constructs a feature vector
|
Modifier and Type | Method and Description |
---|---|
FeatureModel |
getFeatureModel()
Returns the feature model that the feature vector belongs to.
|
FeatureValue |
getFeatureValue(int index) |
SpecificationSubModel |
getSpecSubModel()
Returns the subspecifiction-model.
|
java.lang.String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public static final long serialVersionUID
public FeatureVector(FeatureModel _featureModel, SpecificationSubModel _specSubModel) throws MaltChainedException
_featureModel
- the parent feature model_specSubModel
- the subspecifiction-modelMaltChainedException
public SpecificationSubModel getSpecSubModel()
public FeatureModel getFeatureModel()
public FeatureValue getFeatureValue(int index)
public java.lang.String toString()
toString
in class java.util.AbstractCollection<FeatureFunction>
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.