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

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

protected class Sketch64Double.KnnIterator
extends Object
implements Iterator<List<OBQueryDouble<O>>>

Implements a knn graph iteration over all the dataset


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

Constructor Detail

Sketch64Double.KnnIterator

public Sketch64Double.KnnIterator(int k,
                                  double range)
Method Detail

hasNext

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

next

public List<OBQueryDouble<O>> next()
Specified by:
next in interface Iterator<List<OBQueryDouble<O extends OBDouble>>>

remove

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


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