Uses of Class
be.hogent.tarsos.lsh.Vector

Packages that use Vector
be.hogent.tarsos.lsh Contains the main entry points and data structures to enable an LSH scheme. 
be.hogent.tarsos.lsh.families Contains implementations and abstractions for several locality sensitive hash functions and families. 
be.hogent.tarsos.lsh.util Contains utility classes, e.g. 
 

Uses of Vector in be.hogent.tarsos.lsh
 

Methods in be.hogent.tarsos.lsh that return types with arguments of type Vector
static java.util.List<Vector> LSH.linearSearch(java.util.List<Vector> dataset, Vector query, int resultSize, DistanceMeasure measure)
          Search for the actual nearest neighbours for a query vector using an exhaustive linear search.
 java.util.List<Vector> LSH.query(Vector query, int neighboursSize)
          Find the nearest neighbours for a query in the index.
 java.util.List<Vector> Index.query(Vector query, int maxSize)
          Query for the k nearest neighbours in using the current index.
static java.util.List<Vector> LSH.readDataset(java.lang.String file, int maxSize)
          Read a data set from a text file.
 

Methods in be.hogent.tarsos.lsh with parameters of type Vector
 double Vector.dot(Vector other)
          Calculates the dot product, or scalar product, of this vector with the other vector.
 void Index.index(Vector vector)
          Add a vector to the current index.
static java.util.List<Vector> LSH.linearSearch(java.util.List<Vector> dataset, Vector query, int resultSize, DistanceMeasure measure)
          Search for the actual nearest neighbours for a query vector using an exhaustive linear search.
 java.util.List<Vector> LSH.query(Vector query, int neighboursSize)
          Find the nearest neighbours for a query in the index.
 java.util.List<Vector> Index.query(Vector query, int maxSize)
          Query for the k nearest neighbours in using the current index.
 

Method parameters in be.hogent.tarsos.lsh with type arguments of type Vector
static void Clustering.kMeansClustering(int k, java.util.List<Vector> dataset)
           
static java.util.List<Vector> LSH.linearSearch(java.util.List<Vector> dataset, Vector query, int resultSize, DistanceMeasure measure)
          Search for the actual nearest neighbours for a query vector using an exhaustive linear search.
static void Clustering.nearestNeighbourClustering(double threshold, java.util.List<Vector> dataset)
           
 

Constructors in be.hogent.tarsos.lsh with parameters of type Vector
Vector(Vector other)
          Copy constructor.
 

Constructor parameters in be.hogent.tarsos.lsh with type arguments of type Vector
LSH(java.util.List<Vector> dataset, HashFamily hashFamily)
           
 

Uses of Vector in be.hogent.tarsos.lsh.families
 

Methods in be.hogent.tarsos.lsh.families with parameters of type Vector
 int DistanceComparator.compare(Vector one, Vector other)
           
 double DistanceMeasure.distance(Vector one, Vector other)
          Calculate the distance between two vectors.
 double CosineDistance.distance(Vector one, Vector other)
           
 double IntersectionDistance.distance(Vector one, Vector other)
           
 double CityBlockDistance.distance(Vector one, Vector other)
           
 double EuclideanDistance.distance(Vector one, Vector other)
           
 int CosineHash.hash(Vector vector)
           
 int CityBlockHash.hash(Vector vector)
           
 int EuclideanHash.hash(Vector vector)
           
 int HashFunction.hash(Vector vector)
          Hashes a vector of arbitrary dimensions to an integer.
 

Constructors in be.hogent.tarsos.lsh.families with parameters of type Vector
DistanceComparator(Vector query, DistanceMeasure distanceMeasure)
           
 

Uses of Vector in be.hogent.tarsos.lsh.util
 

Methods in be.hogent.tarsos.lsh.util that return types with arguments of type Vector
static java.util.List<Vector> TestUtils.generate(int dimensions, int datasetSize, int maxValue)
          Generate a data set.
 

Method parameters in be.hogent.tarsos.lsh.util with type arguments of type Vector
static void TestUtils.addNeighbours(java.util.List<Vector> dataset, int numberOfNeighboursToAdd, double radius)
          Adds neighbours to each element in a data set.