當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。