Building a scoring function based on inventory age and value

64 Views Asked by At

I need to build a scoring function to rank items as they arrive in the inventory(data streams). The function will represent both the inventory value(V) and the Age of inventory(A)(from the time at which it was bought).

Score = 3V + 7A. The scoring attempts to increase the score of the item as it ages.

Doing this will mean that i will need to recompute the score every day and it will be cumbersome if the inventory size is in the millions.

Is there a better way to represent the age of the inventory that will avoid recomputation for all the items.

Thanks.

0

There are 0 best solutions below