public class SimilarityMeasuresImpl extends Object implements SimilarityMeasures, io.vrap.rmf.base.client.ModelBase
Specify which ProductData attributes to use for estimating similarity and how to weigh them. An attribute's weight can be any whole positive integer, starting with 0. The larger the integer, the higher its weight.
| Constructor and Description |
|---|
SimilarityMeasuresImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getAttribute()
Importance of the
description attribute in overall similarity. |
Long |
getDescription()
Importance of the
description attribute in overall similarity. |
Long |
getName()
Importance of the
name attribute in overall similarity. |
Long |
getPrice()
Importance of the
price attribute in overall similarity. |
Long |
getVariantCount()
Importance of the number of product variants in overall similarity.
|
int |
hashCode() |
void |
setAttribute(Long attribute) |
void |
setDescription(Long description) |
void |
setName(Long name) |
void |
setPrice(Long price) |
void |
setVariantCount(Long variantCount) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withSimilarityMeasurespublic SimilarityMeasuresImpl()
public Long getName()
Importance of the name attribute in overall similarity.
getName in interface SimilarityMeasurespublic Long getDescription()
Importance of the description attribute in overall similarity.
getDescription in interface SimilarityMeasurespublic Long getAttribute()
Importance of the description attribute in overall similarity.
getAttribute in interface SimilarityMeasurespublic Long getVariantCount()
Importance of the number of product variants in overall similarity.
getVariantCount in interface SimilarityMeasurespublic Long getPrice()
Importance of the price attribute in overall similarity.
getPrice in interface SimilarityMeasurespublic void setName(Long name)
setName in interface SimilarityMeasurespublic void setDescription(Long description)
setDescription in interface SimilarityMeasurespublic void setAttribute(Long attribute)
setAttribute in interface SimilarityMeasurespublic void setVariantCount(Long variantCount)
setVariantCount in interface SimilarityMeasurespublic void setPrice(Long price)
setPrice in interface SimilarityMeasures