net.obsearch.index.ghs.impl
Class Sketch64Short.KnnIterator

java.lang.Object
  extended by net.obsearch.index.ghs.impl.Sketch64Short.KnnIterator
All Implemented Interfaces:
Iterator<List<OBQueryShort<O>>>
Enclosing class:
Sketch64Short<O extends OBShort>

protected class Sketch64Short.KnnIterator
extends Object
implements Iterator<List<OBQueryShort<O>>>

Implements a knn graph iteration over all the dataset


Constructor Summary
Sketch64Short.KnnIterator(int k, short range)
           
 
Method Summary
 boolean hasNext()
           
 List<OBQueryShort<O>> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sketch64Short.KnnIterator

public Sketch64Short.KnnIterator(int k,
                                 short range)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<List<OBQueryShort<O extends OBShort>>>

next

public List<OBQueryShort<O>> next()
Specified by:
next in interface Iterator<List<OBQueryShort<O extends OBShort>>>

remove

public void remove()
Specified by:
remove in interface Iterator<List<OBQueryShort<O extends OBShort>>>


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