title: what is the better way to calculate unique value based on weighted variables?
body: <p>I have to create a priority queue for elements which have multiples variables with an associated weight, what is the better way calculate a unique value in order to get the order of each element in the queue? using a weighted average or using some mathematical modeling? please advice.</p>