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

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

protected class Sketch64Byte.KnnIterator
extends Object
implements Iterator<List<OBQueryByte<O>>>

Implements a knn graph iteration over all the dataset


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

Constructor Detail

Sketch64Byte.KnnIterator

public Sketch64Byte.KnnIterator(int k,
                                byte range)
Method Detail

hasNext

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

next

public List<OBQueryByte<O>> next()
Specified by:
next in interface Iterator<List<OBQueryByte<O extends OBByte>>>

remove

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


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