Yes, but the issue is that I will pass in a weight range for an object, not a prefix. the total of prefix, all prefix2, plus and suffix is the weight of the object. and that needs to be in the given range
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
| [reply] |
sorry, now reading my reply again made me realize I used 'prefix' to describe 2 different things.
I meant generate all possible combinations, classify those combinations by weight and, given a weight range, randomly choose from this 'combination pool'
| [reply] |