Reference 〉 Class

MultiDict()

A data structure allowing organized access to a dict of lists, used for the Agents and Edges containers. The len() of a MultiDict is not the number of categories it contains, but the total number of elements.

WARNING: This is an internal class. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.

Object Properties

  • all list[Object]

    A flat list of all elements (Agent or Edge) within the MultiDict.

    Initial value: []

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History