public class MetricConfiguration
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
MetricConfiguration(boolean monotonic,
double gsFactor,
boolean precomputed,
double precomputationThreshold,
Metric.AggregateFunction aggregateFunction)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Metric.AggregateFunction |
getAggregateFunction() |
double |
getGsFactor() |
double |
getPrecomputationThreshold() |
boolean |
isMonotonic() |
boolean |
isPrecomputed() |
void |
setAggregateFunction(Metric.AggregateFunction aggregateFunction) |
void |
setGsFactor(double gsFactor) |
void |
setMonotonic(boolean monotonic) |
void |
setPrecomputationThreshold(double precomputationThreshold) |
void |
setPrecomputed(boolean precomputed) |
public MetricConfiguration(boolean monotonic,
double gsFactor,
boolean precomputed,
double precomputationThreshold,
Metric.AggregateFunction aggregateFunction)
monotonic - gsFactor - precomputed - precomputationThreshold - aggregateFunction - attackerModel - public Metric.AggregateFunction getAggregateFunction()
public double getGsFactor()
public double getPrecomputationThreshold()
public boolean isMonotonic()
public boolean isPrecomputed()
public void setAggregateFunction(Metric.AggregateFunction aggregateFunction)
aggregateFunction - the aggregateFunction to setpublic void setGsFactor(double gsFactor)
gsFactor - the gsFactor to setpublic void setMonotonic(boolean monotonic)
monotonic - the monotonic to setpublic void setPrecomputationThreshold(double precomputationThreshold)
precomputationThreshold - the precomputationThreshold to setpublic void setPrecomputed(boolean precomputed)
precomputed - the precomputed to set