public static class ComparisonMeasure.Builder extends Object
ComparisonMeasure
instances.Modifier and Type | Method and Description |
---|---|
ComparisonMeasure |
build()
Verifies the previously set values and builds a
ComparisonMeasure instance based on these values. |
ComparisonMeasure.Builder |
compareFunction(CompareFunction compareFunction)
Returns a builder that builds
ComparisonMeasure
instances with the provided CompareFunction and
other parameters set to the previously provided
values. |
ComparisonMeasure.Builder |
pParameter(double pParameter)
Returns a builder that builds
ComparisonMeasure
instances with the provided p-parameter and other parameters
set to the previously provided values. |
public ComparisonMeasure.Builder compareFunction(CompareFunction compareFunction)
ComparisonMeasure
instances with the provided CompareFunction
and
other parameters set to the previously provided
values.compareFunction
- the CompareFunction
, must not be nullComparisonMeasure.Builder
public ComparisonMeasure.Builder pParameter(double pParameter)
ComparisonMeasure
instances with the provided p-parameter and other parameters
set to the previously provided values.
The p-parameter is only expected to have a valid value
(not Double.NaN
, not Double.POSITIVE_INFINITY
and not Double.NEGATIVE_INFINITY
) when the aggregation
function is AggregationFunctionConstants.minkowski
.pParameter
- the p-parameterComparisonMeasure.Builder
public ComparisonMeasure build()
ComparisonMeasure
instance based on these values.ComparisonMeasure
Copyright © 2016 Actian Corporation. All rights reserved.