private static class WeightedDiscreteUncertainObject.Factory extends Object implements FeatureVector.Factory<WeightedDiscreteUncertainObject,Number>
Uncertainifier
to
derive uncertain objects from certain vectors.
TODO: provide serialization functionality.Modifier | Constructor and Description |
---|---|
private |
WeightedDiscreteUncertainObject.Factory() |
Modifier and Type | Method and Description |
---|---|
ByteBufferSerializer<WeightedDiscreteUncertainObject> |
getDefaultSerializer()
Get the default serializer for this type.
|
Class<? super WeightedDiscreteUncertainObject> |
getRestrictionClass()
Get the objects type restriction.
|
<A> WeightedDiscreteUncertainObject |
newFeatureVector(A array,
ArrayAdapter<? extends Number,A> adapter)
Returns a new FeatureVector of V for the given values.
|
private WeightedDiscreteUncertainObject.Factory()
public <A> WeightedDiscreteUncertainObject newFeatureVector(A array, ArrayAdapter<? extends Number,A> adapter)
FeatureVector.Factory
newFeatureVector
in interface FeatureVector.Factory<WeightedDiscreteUncertainObject,Number>
A
- Array typearray
- the values of the featureVectoradapter
- adapter classpublic ByteBufferSerializer<WeightedDiscreteUncertainObject> getDefaultSerializer()
FeatureVector.Factory
null
when no serializer is available.getDefaultSerializer
in interface FeatureVector.Factory<WeightedDiscreteUncertainObject,Number>
public Class<? super WeightedDiscreteUncertainObject> getRestrictionClass()
FeatureVector.Factory
getRestrictionClass
in interface FeatureVector.Factory<WeightedDiscreteUncertainObject,Number>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.