public class ReciprocalDiscountModel extends Object implements RankingDiscountModel
Constructor and Description |
---|
ReciprocalDiscountModel() |
Modifier and Type | Method and Description |
---|---|
double |
disc(int k)
Discount to be applied at a given position.
|
public double disc(int k)
disc
in interface RankingDiscountModel
k
- position in the recommendation list starting from 0Copyright © 2016. All rights reserved.