It's been awhile since I've done stats so don't laugh 
I am writing a tool, and part of the functionality is scheduling tasks. Each task has a priority level, and the scheduler has different queues for each priority. To schedule the next task, I have two independent "heuristics":
1.) The priority level of the queue
2.) The ratio of tasks in that queue to the total number of tasks overall
So say there are 4 queues, each with a different priority. A logical, but arbitrary weight to assign to each one:
.4 (highest priority queue)
.3
.2
.1 (lowest) +
________________
1
On the flip side, I have a weight for the number of tasks in a queue. Once again 4 queues with a total of 50 tasks:
12 - 12/50 = .24 (highest priority queue)
24 - 24/50 = .48
6 - 6/50 = .12
8 - 8/50 = .16 (lowest) +
________________
1
Is there a probability formula to combine these two weights to get a standard score (value between 0 and 1, scores for all 4 queues equals 1) for each queue?
I am writing a tool, and part of the functionality is scheduling tasks. Each task has a priority level, and the scheduler has different queues for each priority. To schedule the next task, I have two independent "heuristics":
1.) The priority level of the queue
2.) The ratio of tasks in that queue to the total number of tasks overall
So say there are 4 queues, each with a different priority. A logical, but arbitrary weight to assign to each one:
.4 (highest priority queue)
.3
.2
.1 (lowest) +
________________
1
On the flip side, I have a weight for the number of tasks in a queue. Once again 4 queues with a total of 50 tasks:
12 - 12/50 = .24 (highest priority queue)
24 - 24/50 = .48
6 - 6/50 = .12
8 - 8/50 = .16 (lowest) +
________________
1
Is there a probability formula to combine these two weights to get a standard score (value between 0 and 1, scores for all 4 queues equals 1) for each queue?