 |
Categories |
|
 |
 |
| Weighted Random
|
Hits: 592
|
|
Description: Weighted random is a CFC that I created to use for the CFSudoku project. The main function of this CFC is to allow a developer to pass in an structure of values and their "weight".
The weight structure is then used to build a weight array. The length of the array is equal to the sum of weights and the corresponding value is stored in each array element. RandRange() is then used to get a random array key and the corresponding value is returned as the weighted random value.
|
| Resource Specification |
| Platform(s): |
linux, windows |
| Date Added: |
Feb 26, 2007 |
| Last Updated: |
Feb 28, 2007 |
| Author: |
Sean Sekora |
| License Information |
|
License # 1: |
| |
License Type: |
Freeware
|
Price:
| Free |
Average Visitor Rating:
5.00 (out of 5)
Number of Ratings: 1 Votes |
| Visitor ratings breakdown by period |
| Last 7 Days |
0 |
0 |
0 |
0 |
0 |
0.00 |
| Last Month |
0 |
0 |
0 |
0 |
0 |
0.00 |
| Last Year |
0 |
0 |
0 |
0 |
0 |
0.00 |
| Overall |
0 |
0 |
0 |
0 |
1 |
5.00 |
| |
1 |
2 |
3 |
4 |
5 |
AVG |
|
|
|
| Visitor Rating Totals |
|
|
|
|
|
| 1 |
2 |
3 |
4 |
5 |
|
|
|
|
|
Average Member Rating:
Not yet reviewed by any member....
You can be the FIRST one to write a review for
Weighted Random.
|
|
|
|