Class DtoFeatureValueWithNextNormal
java.lang.Object
com.vernaio.aivis.engine.v2.base.sdk.dto.DtoFeatureValueWithNextNormal
- All Implemented Interfaces:
IDtoFeatureValueWithNextNormal
Quadruple with id of feature, observed value of feature, next normal value of feature, rating.
-
Constructor Summary
ConstructorsConstructorDescriptionDtoFeatureValueWithNextNormal
(long feature, double value, double nextNormalValue, double rating) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Feature id.double
Next normal feature value.double
Rating how much value differs from next_normal_value.double
getValue()
Observed feature value.int
hashCode()
void
setFeature
(long feature) Feature id.void
setNextNormalValue
(double nextNormalValue) Next normal feature value.void
setRating
(double rating) Rating how much value differs from next_normal_value.void
setValue
(double value) Observed feature value.withFeature
(long feature) Feature id.withNextNormalValue
(double nextNormalValue) Next normal feature value.withRating
(double rating) Rating how much value differs from next_normal_value.withValue
(double value) Observed feature value.
-
Constructor Details
-
DtoFeatureValueWithNextNormal
public DtoFeatureValueWithNextNormal(long feature, double value, double nextNormalValue, double rating)
-
-
Method Details
-
getFeature
public long getFeature()Feature id.- Specified by:
getFeature
in interfaceIDtoFeatureValueWithNextNormal
-
setFeature
public void setFeature(long feature) Feature id.- Specified by:
setFeature
in interfaceIDtoFeatureValueWithNextNormal
-
getValue
public double getValue()Observed feature value.- Specified by:
getValue
in interfaceIDtoFeatureValueWithNextNormal
-
setValue
public void setValue(double value) Observed feature value.- Specified by:
setValue
in interfaceIDtoFeatureValueWithNextNormal
-
getNextNormalValue
public double getNextNormalValue()Next normal feature value.- Specified by:
getNextNormalValue
in interfaceIDtoFeatureValueWithNextNormal
-
setNextNormalValue
public void setNextNormalValue(double nextNormalValue) Next normal feature value.- Specified by:
setNextNormalValue
in interfaceIDtoFeatureValueWithNextNormal
-
getRating
public double getRating()Rating how much value differs from next_normal_value.- Specified by:
getRating
in interfaceIDtoFeatureValueWithNextNormal
-
setRating
public void setRating(double rating) Rating how much value differs from next_normal_value.- Specified by:
setRating
in interfaceIDtoFeatureValueWithNextNormal
-
equals
-
hashCode
public int hashCode() -
withFeature
Feature id. -
withValue
Observed feature value. -
withNextNormalValue
Next normal feature value. -
withRating
Rating how much value differs from next_normal_value.
-