Weighting a coll

Apr 23, 2010 at 7:36pm

Weighting a coll

I’m trying to get an ever expanding coll to predominantly access more recent entries – in other words weight it towards the higher index numbers on the fly as they come in. It feels as though it should be easy but it’s got me puzzled. Any thoughts anyone?

#49725
Apr 23, 2010 at 8:11pm

try a combination with the probability features of [table] maybe? Some way to have the table reflect the state of the coll, and the higher values will bang out more often than the lower ones. Lots of other probability/stats stuff there too.

#178625
Apr 23, 2010 at 9:29pm

Yes thanks – I think I’ve found an answer – and this is the principle…

– Pasted Max Patch, click to expand. –

but any better solutions gratefully accepted

#178626
Apr 24, 2010 at 7:32am

Hello maxers,

like that ?

– Pasted Max Patch, click to expand. –

HTH.

#178627
Apr 24, 2010 at 12:24pm

Mm – that’s interesting! Thanks!

#178628

You must be logged in to reply to this topic.