当前位置: 首页>>代码示例>>Java>>正文


Java PhQuery类代码示例

本文整理汇总了Java中ch.ethz.globis.phtree.PhTree.PhQuery的典型用法代码示例。如果您正苦于以下问题:Java PhQuery类的具体用法?Java PhQuery怎么用?Java PhQuery使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


PhQuery类属于ch.ethz.globis.phtree.PhTree包,在下文中一共展示了PhQuery类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: PhQuerySF

import ch.ethz.globis.phtree.PhTree.PhQuery; //导入依赖的package包/类
protected PhQuerySF(PhQuery<T> iter, int dims, PreProcessorRangeF pre, boolean intersect) {
	super(iter, dims, pre);
	q = iter;
	qMIN = new double[dims];
	Arrays.fill(qMIN, Double.NEGATIVE_INFINITY);
	qMAX = new double[dims];
	Arrays.fill(qMAX, Double.POSITIVE_INFINITY);
	this.intersect = intersect;
	lLow = new long[dims*2];
	lUpp = new long[dims*2];
}
 
开发者ID:tzaeschke,项目名称:phtree,代码行数:12,代码来源:PhTreeSolidF.java

示例2: PhQueryS

import ch.ethz.globis.phtree.PhTree.PhQuery; //导入依赖的package包/类
private PhQueryS(PhQuery<T> iter, int dims, PreProcessorRange pre, boolean intersect) {
	super(iter, dims, pre);
	q = iter;
	qMIN = new long[dims];
	Arrays.fill(qMIN, Long.MIN_VALUE);
	qMAX = new long[dims];
	Arrays.fill(qMAX, Long.MAX_VALUE);
	this.intersect = intersect;
	lLow = new long[dims*2];
	lUpp = new long[dims*2];
}
 
开发者ID:tzaeschke,项目名称:phtree,代码行数:12,代码来源:PhTreeSolid.java

示例3: PhRangeQuery

import ch.ethz.globis.phtree.PhTree.PhQuery; //导入依赖的package包/类
public PhRangeQuery(PhQuery<T> iter, PhTree<T> tree, 
    PhDistance dist, PhFilterDistance filter) {
  this.dims = tree.getDim();
  this.q = iter;
  this.dist = dist;
  this.filter = filter;
  this.min = new long[dims];
  this.max = new long[dims];
}
 
开发者ID:tzaeschke,项目名称:phtree,代码行数:10,代码来源:PhRangeQuery.java

示例4: PhQueryF

import ch.ethz.globis.phtree.PhTree.PhQuery; //导入依赖的package包/类
protected PhQueryF(PhQuery<T> iter, int dims, PreProcessorPointF pre) {
	super(iter, dims, pre);
	q = iter;
	lMin = new long[dims];
	lMax = new long[dims];
}
 
开发者ID:tzaeschke,项目名称:phtree,代码行数:7,代码来源:PhTreeF.java


注:本文中的ch.ethz.globis.phtree.PhTree.PhQuery类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。