public class FeatureVector extends ArrayList<FeatureFunction> implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
modCount
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.
|
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
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
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 String toString()
toString
in class AbstractCollection<FeatureFunction>
Copyright 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre.