本文整理汇总了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];
}
示例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];
}
示例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];
}
示例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];
}