FuzzyDictionary:

Filter:
Classes (extension)
| Collections > Unordered | Libraries > MathLib > Markov & Fuzzy

Extension

random lookup dictionary

Source: FuzzyDictionary.sc

Subclasses: FuzzySet

A dictionary that keeps objects with the same key in a list and returns randomly one of them.

Part of MathLib, a diverse library of mathematical functions.

Put an object into the dictionary. If there is already an object at that key, the new object is added to the list of choices.

Retrieve an object at a key. If there are several, one of them is chosen at random.

Remove an object from a certain key. If there are several of the same kind, only one is removed.

Choose a key from all possible keys, and then choose an object from it.

Iterate over all elements at a certain key.

Return the list of objects at a certain key

From superclass: IdentityDictionary

Return a new fuzzy dictionary with the items passed into the func.

Arguments to the func: **elem**, **key**, **index**, **listindex**

helpfile source: /Library/Application Support/SuperCollider/downloaded-quarks/MathLib/HelpSource/Classes/FuzzyDictionary.schelp

link::Classes/FuzzyDictionary::

link::Classes/FuzzyDictionary::