Interface RecommendationAlgorithmConfiguration
Abstracts a Target Recommendation configuration information
-
Method Summary
Modifier and TypeMethodDescriptionExtra configuration attribute for the algorithmData source for the selected algorithm.Target Recommendation Algorithm configuration key (e.g.Algorithm type for the selected configuration key.Interval to be taken into account by the algorithm.The inclusion rules for this algorithm.intMinimum inventory value for this algorithm Needs to be non-negative to be taken into account.doublePrice range maximum value for products to be considered by this algorithmdoublePrice range minimum value for products to be considered by this algorithmProduct confidence configuration for 'fullDataOptimizing' type algorithms.
-
Method Details
-
getConfigurationKey
String getConfigurationKey()Target Recommendation Algorithm configuration key (e.g. 'currentCategory')- Returns:
- a
Stringrepresentation of the configuration key
-
getConfigurationType
String getConfigurationType()Algorithm type for the selected configuration key.- Returns:
- a
Stringrepresentation of the algorithm type
-
getConfigurationDataSource
String getConfigurationDataSource()Data source for the selected algorithm. When not specified it is usually considered an MBox data source- Returns:
- a
Stringrepresentation of algorithm data source
-
getConfigurationAttribute
String getConfigurationAttribute()Extra configuration attribute for the algorithm- Returns:
- the
Stringrepresenting the configuration attribute
-
getDayCount
DayCountInterval getDayCount()Interval to be taken into account by the algorithm.- Returns:
- a
DayCountIntervalenum value containing the time interval
-
getPriceRangeMin
double getPriceRangeMin()Price range minimum value for products to be considered by this algorithm- Returns:
- the minimum price range value
-
getPriceRangeMax
double getPriceRangeMax()Price range maximum value for products to be considered by this algorithm- Returns:
- the maximum price range value
-
getProductConfidence
String getProductConfidence()Product confidence configuration for 'fullDataOptimizing' type algorithms. No effect for other algorithm types.- Returns:
- the product confidence configuration string
-
getMinInventory
int getMinInventory()Minimum inventory value for this algorithm Needs to be non-negative to be taken into account.- Returns:
- the minimum inventory value
-
getInclusionRules
List<RecommendationAlgorithmInclusionRule> getInclusionRules()The inclusion rules for this algorithm.- Returns:
- a
ListcontainingRecommendationAlgorithmInclusionRuleinclusion rules
-