Class MetricValueImpl
- java.lang.Object
-
- ai.vay.client.impl.common.model.motion.MetricValueImpl
-
- All Implemented Interfaces:
MetricValue
public final class MetricValueImpl extends java.lang.Object implements MetricValue
-
-
Constructor Summary
Constructors Constructor Description MetricValueImpl(double value, double score, Metric metric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metric
getMetric()
Gets theMetric
.double
getScore()
Gets the current confidence score.double
getValue()
Gets the current value.
-
-
-
Constructor Detail
-
MetricValueImpl
public MetricValueImpl(double value, double score, Metric metric)
-
-
Method Detail
-
getMetric
public Metric getMetric()
Description copied from interface:MetricValue
Gets theMetric
.- Specified by:
getMetric
in interfaceMetricValue
- Returns:
- the metric.
-
getScore
public double getScore()
Description copied from interface:MetricValue
Gets the current confidence score.- Specified by:
getScore
in interfaceMetricValue
- Returns:
- the score.
-
getValue
public double getValue()
Description copied from interface:MetricValue
Gets the current value.- Specified by:
getValue
in interfaceMetricValue
- Returns:
- the value.
-
-