org.gcube.indexmanagement.featureindexlibrary.vafile.algo
Class ApproximationGenerator

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.vafile.algo.ApproximationGenerator

public class ApproximationGenerator
extends Object

Generates approximation string

Author:
UoA

Constructor Summary
ApproximationGenerator()
           
 
Method Summary
static byte[] generate(float[][] partitionPoints, float[] vector, VAFileParams params)
          Generate approximation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApproximationGenerator

public ApproximationGenerator()
Method Detail

generate

public static byte[] generate(float[][] partitionPoints,
                              float[] vector,
                              VAFileParams params)
                       throws Exception
Generate approximation

Parameters:
partitionPoints - The partition points
vector - The vector
params - The VAFile paramters
Returns:
Teh approximation
Throws:
Exception - An error


Copyright © 2013. All Rights Reserved.