public interface VectorCollectionFactory<V extends Vec> extends Cloneable, Serializable
VectorCollection
objects.Modifier and Type | Method and Description |
---|---|
VectorCollectionFactory<V> |
clone() |
VectorCollection<V> |
getVectorCollection(List<V> source,
DistanceMetric distanceMetric)
Creates a new Vector Collection from the given source using the provided metric.
|
VectorCollection<V> |
getVectorCollection(List<V> source,
DistanceMetric distanceMetric,
ExecutorService threadpool)
Creates a new Vector Collection from the given source using the provided metric.
|
VectorCollection<V> getVectorCollection(List<V> source, DistanceMetric distanceMetric)
source
- the list of vectors to put into the collection.distanceMetric
- the distance measure to use for the spaceVectorCollection<V> getVectorCollection(List<V> source, DistanceMetric distanceMetric, ExecutorService threadpool)
source
- the list of vectors to put into the collection.distanceMetric
- the distance measure to use for the spacethreadpool
- the source for threads for multi threaded executionVectorCollectionFactory<V> clone()
Copyright © 2017. All rights reserved.