public class SamplingInference extends Object
限定符和类型 | 方法和说明 |
---|---|
static void |
addSteppedListener(SteppedListener l)
添加一个进度条事件(
SteppedEvent )的监听器。 |
static BShadeEstimationResult |
BShadeEstimation(DatasetVector sourceDataset,
DatasetVector historicalDataset,
String[] srcDataFieldNames,
String[] histDataFieldNames,
BShadeEstimateMethod estimateMethod,
Datasource outputDatasource,
String outputDatasetName)
|
static BShadeEstimationResult |
BShadeEstimation(DatasetVector sourceDataset,
DatasetVector historicalDataset,
String[] srcDataFieldNames,
String[] histDataFieldNames,
BShadeEstimateMethod estimateMethod,
Datasource outputDatasource,
String outputDatasetName,
SteppedListener... listeners)
BShade预测。
|
static BShadeSamplingResult[] |
BShadeSampling(DatasetVector historicalDataset,
String[] histDataFieldNames,
BShadeSamplingParameter para)
已过时。
|
static BShadeSamplingResult[] |
BShadeSampling(DatasetVector historicalDataset,
String[] histDataFieldNames,
BShadeSamplingParameter para,
SteppedListener... listeners)
BShade抽样。
|
static DatasetVector |
layeredRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
Datasource outputDatasource,
String outputDatasetName,
LayeredRandomSamplingParameter para)
分层抽样。
|
static DatasetVector |
layeredRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
Datasource outputDatasource,
String outputDatasetName,
LayeredRandomSamplingParameter para,
SteppedListener... listeners)
分层随机抽样。
|
static LayeredRandomSamplingInferenceResult |
layeredRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName)
分层抽样推断。
|
static LayeredRandomSamplingInferenceResult |
layeredRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName,
SteppedListener... listeners)
分层随机抽样推断。
|
static void |
removeSteppedListener(SteppedListener l)
移除一个进度条事件(
SteppedEvent )的监听器。 |
static DatasetVector |
sandwichRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
DatasetVector reportingUnitDataset,
Datasource outputDatasource,
String outputDatasetName,
SandwichRandomSamplingParameter para)
Sandwich抽样。
|
static DatasetVector |
sandwichRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
DatasetVector reportingUnitDataset,
Datasource outputDatasource,
String outputDatasetName,
SandwichRandomSamplingParameter para,
SteppedListener... listeners)
三明治随机抽样。
|
static SandwichRandomSamplingInferenceResult |
sandwichRandomSamplingInference(DatasetVector pointDataset,
DatasetVector layeredDataset,
DatasetVector reportingUnitDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName)
Sandwich抽样推断。
|
static SandwichRandomSamplingInferenceResult |
sandwichRandomSamplingInference(DatasetVector pointDataset,
DatasetVector layeredDataset,
DatasetVector reportingUnitDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName,
SteppedListener... listeners)
三明治随机抽样推断。
|
static DatasetVector |
simpleRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SimpleRandomSamplingParameter para)
简单随机抽样。
|
static DatasetVector |
simpleRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SimpleRandomSamplingParameter para,
SteppedListener... listeners)
简单随机抽样
|
static SimpleRandomSamplingInferenceResult |
simpleRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel)
简单随机抽样推断。
|
static SimpleRandomSamplingInferenceResult |
simpleRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
SteppedListener... listeners)
简单随机抽样推断。
|
static DatasetVector |
SPA(DatasetVector sourceDataset,
DatasetVector referenceDataset,
String srcUniqueIDFieldName,
String srcDataFieldName,
String refUniqueIDFieldName,
String[] refDataFieldNames,
Datasource outputDatasource,
String outputDatasetName)
|
static DatasetVector |
SPA(DatasetVector sourceDataset,
DatasetVector referenceDataset,
String srcUniqueIDFieldName,
String srcDataFieldName,
String refUniqueIDFieldName,
String[] refDataFieldNames,
Datasource outputDatasource,
String outputDatasetName,
SteppedListener... listeners)
SPA统计推断。
|
static DatasetVector |
spatialLayeredRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
Datasource outputDatasource,
String outputDatasetName,
SpatialLayeredRandomSamplingParameter para)
空间分层抽样。
|
static DatasetVector |
spatialLayeredRandomSampling(Dataset dataset,
DatasetVector layeredDataset,
Datasource outputDatasource,
String outputDatasetName,
SpatialLayeredRandomSamplingParameter para,
SteppedListener... listeners)
空间分层随机抽样。
|
static SpatialLayeredRandomSamplingInferenceResult |
spatialLayeredRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName)
空间分层抽样推断。
|
static SpatialLayeredRandomSamplingInferenceResult |
spatialLayeredRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
String strLayeredIDFieldName,
String strPopulationFieldName,
SteppedListener... listeners)
空间分层随机抽样推断。
|
static DatasetVector |
spatialSimpleRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SpatialSimpleRandomSamplingParameter para)
空间随机抽样。
|
static DatasetVector |
spatialSimpleRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SpatialSimpleRandomSamplingParameter para,
SteppedListener... listeners)
空间简单随机抽样。
|
static SpatialSimpleRandomSamplingInferenceResult |
spatialSimpleRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel)
空间随机抽样推断。
|
static SpatialSimpleRandomSamplingInferenceResult |
spatialSimpleRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
SteppedListener... listeners)
空间简单随机抽样推断。
|
static DatasetVector |
systematicRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SystematicRandomSamplingParameter para)
系统抽样。
|
static DatasetVector |
systematicRandomSampling(Dataset dataset,
DatasetVector sampleRangeDataset,
Datasource outputDatasource,
String outputDatasetName,
SystematicRandomSamplingParameter para,
SteppedListener... listeners)
系统随机抽样。
|
static SystematicRandomSamplingInferenceResult |
systematicRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel)
系统抽样推断。
|
static SystematicRandomSamplingInferenceResult |
systematicRandomSamplingInference(DatasetVector pointDataset,
String strSampleFieldName,
Double dConfidenceLevel,
SteppedListener... listeners)
系统随机抽样推断。
|
@Deprecated public static DatasetVector SPA(DatasetVector sourceDataset, DatasetVector referenceDataset, String srcUniqueIDFieldName, String srcDataFieldName, String refUniqueIDFieldName, String[] refDataFieldNames, Datasource outputDatasource, String outputDatasetName)
SamplingInference.SPA(DatasetVector, DatasetVector, String, String, String, String[], Datasource, String, SteppedListener...)
。sourceDataset
- 源数据集。referenceDataset
- 参考数据集。srcUniqueIDFieldName
- 源数据集唯一字段名称。srcDataFieldName
- 源数据集数据字段名称。refUniqueIDFieldName
- 参考数据集唯一字段名称。refDataFieldNames
- 参考数据集数据字段名称集合。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。public static DatasetVector SPA(DatasetVector sourceDataset, DatasetVector referenceDataset, String srcUniqueIDFieldName, String srcDataFieldName, String refUniqueIDFieldName, String[] refDataFieldNames, Datasource outputDatasource, String outputDatasetName, SteppedListener... listeners)
sourceDataset
- 源数据集。referenceDataset
- 参考数据集。srcUniqueIDFieldName
- 源数据集唯一字段名称。srcDataFieldName
- 源数据集数据字段名称。refUniqueIDFieldName
- 参考数据集唯一字段名称。refDataFieldNames
- 参考数据集数据字段名称集合。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。listeners
- 用于接收进度条事件的监听器。@Deprecated public static BShadeEstimationResult BShadeEstimation(DatasetVector sourceDataset, DatasetVector historicalDataset, String[] srcDataFieldNames, String[] histDataFieldNames, BShadeEstimateMethod estimateMethod, Datasource outputDatasource, String outputDatasetName)
SamplingInference.BShadeEstimation(DatasetVector, DatasetVector, String[], String[], BShadeEstimateMethod, Datasource, String, SteppedListener...)
替换。sourceDataset
- 源数据集。historicalDataset
- 历史数据集。srcDataFieldNames
- 源数据集数据字段名称集合。histDataFieldNames
- 历史数据集数据字段名称集合。estimateMethod
- 估计方法。包括总量和均值两种方法。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。public static BShadeEstimationResult BShadeEstimation(DatasetVector sourceDataset, DatasetVector historicalDataset, String[] srcDataFieldNames, String[] histDataFieldNames, BShadeEstimateMethod estimateMethod, Datasource outputDatasource, String outputDatasetName, SteppedListener... listeners)
sourceDataset
- 源数据集。historicalDataset
- 历史数据集。srcDataFieldNames
- 源数据集数据字段名称集合。histDataFieldNames
- 历史数据集数据字段名称集合。estimateMethod
- 估计方法。包括总量和均值两种方法。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。listeners
- 用于接收进度条事件的监听器。@Deprecated public static BShadeSamplingResult[] BShadeSampling(DatasetVector historicalDataset, String[] histDataFieldNames, BShadeSamplingParameter para)
SamplingInference.BShadeSampling(DatasetVector, String[], BShadeSamplingParameter, SteppedListener...)
替换。historicalDataset
- 历史数据集。histDataFieldNames
- 历史数据集数据字段名称集合。para
- 参数设置。public static BShadeSamplingResult[] BShadeSampling(DatasetVector historicalDataset, String[] histDataFieldNames, BShadeSamplingParameter para, SteppedListener... listeners)
historicalDataset
- 历史数据集。histDataFieldNames
- 历史数据集数据字段名称集合。para
- 参数设置。listeners
- 用于接收进度条事件的监听器。public static DatasetVector simpleRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SimpleRandomSamplingParameter para)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。para
- 随机抽样参数设置。public static DatasetVector systematicRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SystematicRandomSamplingParameter para)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集的名称。para
- 系统抽样参数设置。public static DatasetVector spatialSimpleRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SpatialSimpleRandomSamplingParameter para)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集的名称。para
- 空间简单抽样参数设置。public static DatasetVector layeredRandomSampling(Dataset dataset, DatasetVector layeredDataset, Datasource outputDatasource, String outputDatasetName, LayeredRandomSamplingParameter para)
dataset
- 源数据集。layeredDataset
- 分层数据集。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集的名称。para
- 分层抽样参数设置。public static DatasetVector spatialLayeredRandomSampling(Dataset dataset, DatasetVector layeredDataset, Datasource outputDatasource, String outputDatasetName, SpatialLayeredRandomSamplingParameter para)
dataset
- 源数据集。layeredDataset
- 分层数据集。outputDatasource
- 结果数据集所在数据源。outputDatasetName
- 结果数据集名称。para
- 分层抽样参数设置。public static DatasetVector sandwichRandomSampling(Dataset dataset, DatasetVector layeredDataset, DatasetVector reportingUnitDataset, Datasource outputDatasource, String outputDatasetName, SandwichRandomSamplingParameter para)
dataset
- 源数据集。layeredDataset
- 分层数据集。reportingUnitDataset
- 报告单元数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 分层抽样参数设置。public static SimpleRandomSamplingInferenceResult simpleRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static SystematicRandomSamplingInferenceResult systematicRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static SpatialSimpleRandomSamplingInferenceResult spatialSimpleRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static LayeredRandomSamplingInferenceResult layeredRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static SpatialLayeredRandomSamplingInferenceResult spatialLayeredRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static SandwichRandomSamplingInferenceResult sandwichRandomSamplingInference(DatasetVector pointDataset, DatasetVector layeredDataset, DatasetVector reportingUnitDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName)
pointDataset
- 抽样点数据集。layeredDataset
- 分层数据集。reportingUnitDataset
- 报告单元数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static DatasetVector simpleRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SimpleRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 系统抽样参数设置。listeners
- 用于接收进度条事件的监听器。public static DatasetVector systematicRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SystematicRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 系统抽样参数设置。listeners
- 用于接收进度条事件的监听器。public static DatasetVector spatialSimpleRandomSampling(Dataset dataset, DatasetVector sampleRangeDataset, Datasource outputDatasource, String outputDatasetName, SpatialSimpleRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。sampleRangeDataset
- 抽样范围数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 空间简单抽样参数设置。public static DatasetVector layeredRandomSampling(Dataset dataset, DatasetVector layeredDataset, Datasource outputDatasource, String outputDatasetName, LayeredRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。layeredDataset
- 分层数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 分层抽样参数设置。public static DatasetVector spatialLayeredRandomSampling(Dataset dataset, DatasetVector layeredDataset, Datasource outputDatasource, String outputDatasetName, SpatialLayeredRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。layeredDataset
- 分层数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 分层抽样参数设置。public static DatasetVector sandwichRandomSampling(Dataset dataset, DatasetVector layeredDataset, DatasetVector reportingUnitDataset, Datasource outputDatasource, String outputDatasetName, SandwichRandomSamplingParameter para, SteppedListener... listeners)
dataset
- 源数据集。layeredDataset
- 分层数据集。reportingUnitDataset
- 报告单元数据集。outputDatasource
- 输出数据集所在数据源。outputDatasetName
- 输出数据集的名称。para
- 分层抽样参数设置。public static SimpleRandomSamplingInferenceResult simpleRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, SteppedListener... listeners)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static SystematicRandomSamplingInferenceResult systematicRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, SteppedListener... listeners)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static SpatialSimpleRandomSamplingInferenceResult spatialSimpleRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, SteppedListener... listeners)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。public static LayeredRandomSamplingInferenceResult layeredRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName, SteppedListener... listeners)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static SpatialLayeredRandomSamplingInferenceResult spatialLayeredRandomSamplingInference(DatasetVector pointDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName, SteppedListener... listeners)
pointDataset
- 抽样点数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static SandwichRandomSamplingInferenceResult sandwichRandomSamplingInference(DatasetVector pointDataset, DatasetVector layeredDataset, DatasetVector reportingUnitDataset, String strSampleFieldName, Double dConfidenceLevel, String strLayeredIDFieldName, String strPopulationFieldName, SteppedListener... listeners)
pointDataset
- 抽样点数据集。layeredDataset
- 分层数据集。reportingUnitDataset
- 报告单元数据集。strSampleFieldName
- 字段名称。dConfidenceLevel
- 置信度。strLayeredIDFieldName
- 样本所属的分层ID。strPopulationFieldName
- 分层对象包含的总体样本总数public static void addSteppedListener(SteppedListener l)
SteppedEvent
)的监听器。l
- 一个用于接收进度条事件的监听器。public static void removeSteppedListener(SteppedListener l)
SteppedEvent
)的监听器。l
- 一个用于接收进度条事件的监听器。Copyright © 2021–2024 SuperMap. All rights reserved.