J 
		
								
				
				
			
		jobz
I need to randomly pick films from a list to automatically generate a
timetable. Each film has a priority and weighting that affects how often it
is picked. For example, say we have 3 films with the following priority and
weighting,
A 1 5%
B 2 10%
C 3 5%
B should be picked more often because of the higher weighting. If films
have equal weighting, we look at the priority. So in this example, A should
have a higher 'overall weighting' than B.
Considering these factors, what is the best way to do this? Thanks.
jobz
				
			timetable. Each film has a priority and weighting that affects how often it
is picked. For example, say we have 3 films with the following priority and
weighting,
A 1 5%
B 2 10%
C 3 5%
B should be picked more often because of the higher weighting. If films
have equal weighting, we look at the priority. So in this example, A should
have a higher 'overall weighting' than B.
Considering these factors, what is the best way to do this? Thanks.
jobz