Tabnine Logo
PhTreeF$PhEntryDistF
Code IndexAdd Tabnine to your IDE (free)

How to use
PhTreeF$PhEntryDistF
in
ch.ethz.globis.phtree

Best Java code snippets using ch.ethz.globis.phtree.PhTreeF$PhEntryDistF (Showing top 4 results out of 315)

origin: tzaeschke/tinspin-indexes

@Override
public PointEntryDist<T> next() {
  //This reuses the entry object, but we have to clone the arrays...
  PhEntryDistF<T> e = iter.nextEntryReuse();
  return new DistEntryP<>(e.getKey().clone(), e.getValue(), e.dist());
}
origin: ch.ethz.globis.phtree/phtree

@Override
public PhEntryDistF<T> nextEntry() {
  double[] d = new double[dims];
  PhEntryDist<T> e = q.nextEntryReuse();
  pre.post(e.getKey(), d);
  return new PhEntryDistF<>(d, e.getValue(), e.dist());
}
origin: ch.ethz.globis.phtree/phtree

@Override
public PhEntryDistF<T> nextEntryReuse() {
  PhEntryDist<T> e = q.nextEntryReuse();
  pre.post(e.getKey(), buffer.getKey());
  buffer.set( e.getValue(), e.dist() );
  return buffer;
}
origin: ch.ethz.globis.phtree/phtree

protected PhKnnQueryF(PhKnnQuery<T> iter, int dims, PreProcessorPointF pre) {
  super(iter, dims, pre);
  this.dims = dims;
  q = iter;
  lCenter = new long[dims];
  buffer = new PhEntryDistF<>(new double[dims], null, Double.NaN); 
}
ch.ethz.globis.phtreePhTreeF$PhEntryDistF

Javadoc

Entry class for Double entries with distance information for nearest neighbour queries.

Most used methods

  • getKey
  • <init>
  • dist
  • getValue
  • set

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now