net.obsearch.index
Class CommonsLong

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

public class CommonsLong
extends Object

Commons

Author:
Arnoldo Jose Muller Molina

Constructor Summary
CommonsLong()
           
 
Method Summary
static long[] fullMatchLite(OBLong query, boolean filterSame, IndexLong 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

CommonsLong

public CommonsLong()
Method Detail

fullMatchLite

public static long[] fullMatchLite(OBLong query,
                                   boolean filterSame,
                                   IndexLong 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 Long.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.