net.obsearch.index
Class CommonsShort

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

public class CommonsShort
extends Object

Commons

Author:
Arnoldo Jose Muller Molina

Constructor Summary
CommonsShort()
           
 
Method Summary
static short[] fullMatchLite(OBShort query, boolean filterSame, IndexShort 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

CommonsShort

public CommonsShort()
Method Detail

fullMatchLite

public static short[] fullMatchLite(OBShort query,
                                    boolean filterSame,
                                    IndexShort 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 Short.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.