net.obsearch.index
Class CommonsDouble

java.lang.Object
  extended by net.obsearch.index.CommonsDouble

public class CommonsDouble
extends Object

Commons

Author:
Arnoldo Jose Muller Molina

Constructor Summary
CommonsDouble()
           
 
Method Summary
static double[] fullMatchLite(OBDouble query, boolean filterSame, IndexDouble index)
          This method returns a list of all the distances of the query against the DB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsDouble

public CommonsDouble()
Method Detail

fullMatchLite

public static double[] fullMatchLite(OBDouble query,
                                     boolean filterSame,
                                     IndexDouble index)
                              throws OBException,
                                     IllegalAccessException,
                                     InstantiationException
This method returns a list of all the distances of the query against the DB. This helps to calculate EP values in a cheaper way. results that are equal to the original object are added as Double.MAX_VALUE

Parameters:
query -
filterSame - if True we do not return objects o such that query.equals(o)
Returns:
Throws:
OBException
InstantiationException
IllegalAccessException


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.