Package elki.data.type
Class MultivariateSeriesTypeInformation<V extends FeatureVector<?>>
- java.lang.Object
-
- elki.data.type.SimpleTypeInformation<V>
-
- elki.data.type.VectorTypeInformation<V>
-
- elki.data.type.MultivariateSeriesTypeInformation<V>
-
- Type Parameters:
V
- Vector type
- All Implemented Interfaces:
TypeInformation
public class MultivariateSeriesTypeInformation<V extends FeatureVector<?>> extends VectorTypeInformation<V>
Type information for multi-variate time series.- Since:
- 0.7.0
- Author:
- Sebastian Hollizeck
-
-
Field Summary
Fields Modifier and Type Field Description protected int
multiplicity
Number of variates per dimension.-
Fields inherited from class elki.data.type.VectorTypeInformation
maxdim, mindim
-
-
Constructor Summary
Constructors Constructor Description MultivariateSeriesTypeInformation(FeatureVector.Factory<V,?> factory, ByteBufferSerializer<? super V> serializer, int mindim, int maxdim, int multiplicity)
Constructor for an actual type.MultivariateSeriesTypeInformation(java.lang.Class<? super V> cls, int mindim, int maxdim, int multiplicity)
Constructor for an actual type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMultiplicity()
Get the multiplicity of the vector.java.lang.String
toString()
static <V extends FeatureVector<?>>
MultivariateSeriesTypeInformation<V>typeRequest(java.lang.Class<? super V> cls)
Constructor for a type request without dimensionality constraints.-
Methods inherited from class elki.data.type.VectorTypeInformation
getFactory, isAssignableFrom, isAssignableFromType, maxdim, mindim, typeRequest
-
Methods inherited from class elki.data.type.SimpleTypeInformation
cast, getLabel, getRestrictionClass, getSerializer, setSerializer
-
-
-
-
Constructor Detail
-
MultivariateSeriesTypeInformation
public MultivariateSeriesTypeInformation(java.lang.Class<? super V> cls, int mindim, int maxdim, int multiplicity)
Constructor for an actual type.- Parameters:
cls
- base classmindim
- Minimum dimensionalitymaxdim
- Maximum dimensionalitymultiplicity
- Number of variates
-
MultivariateSeriesTypeInformation
public MultivariateSeriesTypeInformation(FeatureVector.Factory<V,?> factory, ByteBufferSerializer<? super V> serializer, int mindim, int maxdim, int multiplicity)
Constructor for an actual type.- Parameters:
factory
- Vector factoryserializer
- Serializermindim
- Minimum dimensionalitymaxdim
- Maximum dimensionalitymultiplicity
- Number of variates
-
-
Method Detail
-
typeRequest
public static <V extends FeatureVector<?>> MultivariateSeriesTypeInformation<V> typeRequest(java.lang.Class<? super V> cls)
Constructor for a type request without dimensionality constraints.- Type Parameters:
V
- vector type- Parameters:
cls
- Class constraint
-
getMultiplicity
public int getMultiplicity()
Get the multiplicity of the vector.- Overrides:
getMultiplicity
in classVectorTypeInformation<V extends FeatureVector<?>>
- Returns:
- Multiplicity
-
toString
public java.lang.String toString()
- Overrides:
toString
in classVectorTypeInformation<V extends FeatureVector<?>>
-
-