本文整理匯總了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];
}