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